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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 2 09:33:06 EST 2012


Author: martinl
Date: 2012-01-02 06:33:06 -0800 (Mon, 02 Jan 2012)
New Revision: 50033

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


Modified: grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-01-02 13:50:22 UTC (rev 50032)
+++ grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-01-02 14:33:06 UTC (rev 50033)
@@ -841,7 +841,8 @@
         #
         # load layer manager window properties
         #
-        if UserSettings.Get(group = 'workspace', key = 'posManager', subkey = 'enabled') is False:
+        if not UserSettings.Get(group = 'general', key = 'workspace',
+                                subkey = ['posManager', 'enabled']):
             if gxwXml.layerManager['pos']:
                 self.SetPosition(gxwXml.layerManager['pos'])
             if gxwXml.layerManager['size']:



More information about the grass-commit mailing list