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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 2 16:38:40 EST 2008


Author: martinl
Date: 2008-12-02 16:38:40 -0500 (Tue, 02 Dec 2008)
New Revision: 34687

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: MultiImport -> switch page to "Command output"


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2008-12-02 21:25:08 UTC (rev 34686)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2008-12-02 21:38:40 UTC (rev 34687)
@@ -953,7 +953,7 @@
                 cmd.append('--overwrite')
             
             # run in Layer Manager
-            self.parent.goutput.RunCmd(cmd)
+            self.parent.goutput.RunCmd(cmd, switchPage=True)
 
         if self.add.IsChecked():
             maptree = self.parent.curr_page.maptree
@@ -978,7 +978,7 @@
                                      lcmd=['d.vect',
                                            'map=%s' % name])
         
-        wx.CallAfter(self.parent.notebook.SetSelection, 0)
+        ### wx.CallAfter(self.parent.notebook.SetSelection, 0)
         
         self.OnCancel()
         



More information about the grass-commit mailing list