Beispiel #1
0
    def OnDone(self, event):
        if event.returncode == 0:
            if not os.getenv("GRASS_ADDON_BASE"):
                SetAddOnPath(key="BASE")

            globalvar.UpdateGRASSAddOnCommands()
            toolboxesOutdated()
Beispiel #2
0
 def OnDone(self, cmd, returncode):
     if returncode == 0:
         if not os.getenv('GRASS_ADDON_BASE'):
             SetAddOnPath(key = 'BASE')
         
         globalvar.UpdateGRASSAddOnCommands()
         toolboxesOutdated()
Beispiel #3
0
 def OnDone(self, cmd, returncode):
     if returncode == 0:
         if not os.getenv('GRASS_ADDON_PATH'):
             SetAddOnPath()
         
         globalvar.UpdateGRASSAddOnCommands()
         log = self.parent.GetLogWindow()
         log.GetPrompt().SetFilter(None)