[GRASS-SVN] r32429 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 31 16:26:20 EDT 2008


Author: martinl
Date: 2008-07-31 16:26:19 -0400 (Thu, 31 Jul 2008)
New Revision: 32429

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
Log:
wxGUI: don't switch to 'Command output' when module dialog is launched (merge from trunk, r32428)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2008-07-31 20:22:20 UTC (rev 32428)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2008-07-31 20:26:19 UTC (rev 32429)
@@ -289,11 +289,6 @@
                 #
                 # other GRASS commands (r|v|g|...)
                 #
-                if hasattr(self.parent, "curr_page"):
-                    # change notebook page only for Layer Manager
-                    if self.parent.notebook.GetSelection() != 1:
-                        self.parent.notebook.SetSelection(1)
-
                 # activate computational region (set with g.region)
                 # for all non-display commands.
                 tmpreg = os.getenv("GRASS_REGION")



More information about the grass-commit mailing list