浏览代码

wxGUI: use customized v.krige GUI

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40129 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 年之前
父节点
当前提交
daca4972f5
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      gui/wxpython/gui_modules/goutput.py
  2. 1 1
      gui/wxpython/wxgui.py

+ 1 - 1
gui/wxpython/gui_modules/goutput.py

@@ -486,7 +486,7 @@ class GMConsole(wx.SplitterWindow):
                     if os.environ.has_key("GRASS_REGION"):
                     if os.environ.has_key("GRASS_REGION"):
                         del os.environ["GRASS_REGION"]
                         del os.environ["GRASS_REGION"]
                     
                     
-                if len(cmdlist) == 1:
+                if len(cmdlist) == 1 and cmdlist[0] not in ('v.krige'):
                     import menuform
                     import menuform
                     # process GRASS command without argument
                     # process GRASS command without argument
                     menuform.GUI().ParseCommand(cmdlist, parentframe=self)
                     menuform.GUI().ParseCommand(cmdlist, parentframe=self)

+ 1 - 1
gui/wxpython/wxgui.py

@@ -441,7 +441,7 @@ class GMFrame(wx.Frame):
         """!Run command selected from menu"""
         """!Run command selected from menu"""
         if event:
         if event:
             cmd = self.GetMenuCmd(event)
             cmd = self.GetMenuCmd(event)
-        self.goutput.RunCmd(cmd, switchPage=True)
+        self.goutput.RunCmd(cmd, switchPage=False)
 
 
     def OnMenuCmd(self, event, cmd = ''):
     def OnMenuCmd(self, event, cmd = ''):
         """!Parse command selected from menu"""
         """!Parse command selected from menu"""