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

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


Author: martinl
Date: 2008-07-31 16:22:20 -0400 (Thu, 31 Jul 2008)
New Revision: 32428

Modified:
   grass/trunk/gui/wxpython/gui_modules/goutput.py
Log:
wxGUI: don't switch to 'Command output' when module dialog is launched

Modified: grass/trunk/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/goutput.py	2008-07-31 20:20:34 UTC (rev 32427)
+++ grass/trunk/gui/wxpython/gui_modules/goutput.py	2008-07-31 20:22:20 UTC (rev 32428)
@@ -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