[GRASS-SVN] r47838 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 22 14:22:49 EDT 2011


Author: annakrat
Date: 2011-08-22 11:22:48 -0700 (Mon, 22 Aug 2011)
New Revision: 47838

Modified:
   grass/trunk/gui/wxpython/gui_modules/mapdisp.py
Log:
wxNviz:enable disabled statusbar combobox when switching to 2D

Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2011-08-22 17:47:02 UTC (rev 47837)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2011-08-22 18:22:48 UTC (rev 47838)
@@ -425,6 +425,8 @@
     
     def RemoveNviz(self):
         """!Restore 2D view"""
+        # update status bar
+        self.statusbarWin['toggle'].Enable(True)
         self.statusbar.SetStatusText(_("Please wait, unloading data..."), 0)
         self._layerManager.goutput.WriteCmdLog(_("Switching back to 2D view mode..."),
                                                switchPage = False)



More information about the grass-commit mailing list