Bläddra i källkod

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 år sedan
förälder
incheckning
daca4972f5
2 ändrade filer med 2 tillägg och 2 borttagningar
  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"):
                         del os.environ["GRASS_REGION"]
                     
-                if len(cmdlist) == 1:
+                if len(cmdlist) == 1 and cmdlist[0] not in ('v.krige'):
                     import menuform
                     # process GRASS command without argument
                     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"""
         if event:
             cmd = self.GetMenuCmd(event)
-        self.goutput.RunCmd(cmd, switchPage=True)
+        self.goutput.RunCmd(cmd, switchPage=False)
 
     def OnMenuCmd(self, event, cmd = ''):
         """!Parse command selected from menu"""