[GRASS-SVN] r55506 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 24 01:36:53 PDT 2013


Author: annakrat
Date: 2013-03-24 01:36:53 -0700 (Sun, 24 Mar 2013)
New Revision: 55506

Modified:
   grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI: fix loading workspace with nviz

Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py	2013-03-23 16:56:41 UTC (rev 55505)
+++ grass/trunk/gui/wxpython/lmgr/frame.py	2013-03-24 08:36:53 UTC (rev 55506)
@@ -1144,6 +1144,7 @@
                                                 region['w'])
             
             displayId += 1
+            mapdisp.Show() # show mapdisplay
     
         maptree = None 
         selected = [] # list of selected layers
@@ -1191,8 +1192,6 @@
                 self.nviz.UpdateSettings()
                 mdisp.toolbars['map'].combo.SetSelection(1)
             
-            mdisp.Show() # show mapdisplay
-        
         return True
     
     def OnWorkspaceLoadGrcFile(self, event):



More information about the grass-commit mailing list