From 471fd4fa29f9ceb16017e1e554ab4ea2ee0c3164 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 6 Feb 2008 23:44:54 +0000 Subject: [PATCH] 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 --- synfig-studio/trunk/src/gtkmm/dialogsettings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.7.4