Remember the position and size of the color and gradient dialogs even if they're...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 6 Feb 2008 23:44:54 +0000 (23:44 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 6 Feb 2008 23:44:54 +0000 (23:44 +0000)
git-svn-id: http://svn.voria.com/code@1612 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/dialogsettings.cpp

index e325dd9..9ca73a4 100644 (file)
@@ -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;