[GRASS-SVN] r50057 - grass/branches/develbranch_6/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 4 06:34:35 EST 2012


Author: martinl
Date: 2012-01-04 03:34:35 -0800 (Wed, 04 Jan 2012)
New Revision: 50057

Modified:
   grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
Log:
wxGUI: fix posManager/Display settings


Modified: grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-01-04 10:47:40 UTC (rev 50056)
+++ grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-01-04 11:34:35 UTC (rev 50057)
@@ -875,7 +875,7 @@
                                          value = display['projection']['proj'])
             
             # set position and size of map display
-            if UserSettings.Get(group = 'workspace', key = 'posDisplay', subkey = 'enabled') is False:
+            if not UserSettings.Get(group = 'general', key = 'workspace', subkey = ['posDisplay', 'enabled']):
                 if display['pos']:
                     mapdisp.SetPosition(display['pos'])
                 if display['size']:



More information about the grass-commit mailing list