[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grass-commit
Subject:    [GRASS-SVN] r32428 - grass/trunk/gui/wxpython/gui_modules
From:       svn_grass () osgeo ! org
Date:       2008-07-31 20:22:20
Message-ID: 20080731202220.5D133E004D3 () lists ! osgeo ! org
[Download RAW message or body]

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")

_______________________________________________
grass-commit mailing list
grass-commit@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic