Przeglądaj źródła

wxGUI: check created maps after command finished only for grass commands

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56388 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 12 lat temu
rodzic
commit
951ca9f663
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      gui/wxpython/core/gconsole.py

+ 3 - 0
gui/wxpython/core/gconsole.py

@@ -642,6 +642,9 @@ class GConsole(wx.EvtHandler):
             event.Skip()
             return
 
+        if event.cmd[0] not in globalvar.grassCmd:
+            return
+
         # find which maps were created
         try:
             task = GUI(show=None).ParseCommand(event.cmd)