From: dooglus Date: Wed, 6 Feb 2008 23:44:54 +0000 (+0000) Subject: Remember the position and size of the color and gradient dialogs even if they're... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=471fd4fa29f9ceb16017e1e554ab4ea2ee0c3164;p=synfig.git Remember the position and size of the color and gradient dialogs even if they're not displayed when studio exits. git-svn-id: http://svn.voria.com/code@1612 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/dialogsettings.cpp b/synfig-studio/trunk/src/gtkmm/dialogsettings.cpp index e325dd9..9ca73a4 100644 --- a/synfig-studio/trunk/src/gtkmm/dialogsettings.cpp +++ b/synfig-studio/trunk/src/gtkmm/dialogsettings.cpp @@ -69,14 +69,14 @@ DialogSettings::get_value(const synfig::String& key, synfig::String& value)const { if(key=="pos") { - if(!window->is_visible())return false; + // if(!window->is_visible())return false; int x,y; window->get_position(x,y); value=strprintf("%d %d",x,y); return true; } if(key=="size") { - if(!window->is_visible())return false; + // if(!window->is_visible())return false; int x,y; window->get_size(x,y); value=strprintf("%d %d",x,y); return true;