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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 23 14:25:17 EDT 2008


Author: martinl
Date: 2008-03-23 14:25:17 -0400 (Sun, 23 Mar 2008)
New Revision: 30707

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: show Layer Manager window first (on g.gui workspace=)

Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2008-03-23 18:12:19 UTC (rev 30706)
+++ grass/trunk/gui/wxpython/wxgui.py	2008-03-23 18:25:17 UTC (rev 30707)
@@ -154,7 +154,8 @@
 
         # start default initial display
         self.NewDisplay(show=False)
-        
+        self.Show()
+
         # load workspace file if requested
         if (self.workspaceFile):
             # load given workspace file
@@ -164,6 +165,7 @@
                 self.workspaceFile = None
 
         # show map display widnow
+        # -> OnSize() -> UpdateMap()
         self.curr_page.maptree.mapdisplay.Show()
 
     def __doLayout(self):



More information about the grass-commit mailing list