[GRASS-SVN] r42248 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 13 09:20:30 EDT 2010


Author: mmetz
Date: 2010-05-13 09:20:30 -0400 (Thu, 13 May 2010)
New Revision: 42248

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: do not modify saved window layout

Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2010-05-13 13:16:38 UTC (rev 42247)
+++ grass/trunk/gui/wxpython/wxgui.py	2010-05-13 13:20:30 UTC (rev 42248)
@@ -165,9 +165,10 @@
                self.SetSize((w, h))
             except:
                 pass
+        else:
+            self.Centre()
         
         self.Layout()
-        self.Centre()
         self.Show()
         
         # load workspace file if requested



More information about the grass-commit mailing list