Ver código fonte

wxGUI: fix onDone method
(merge https://trac.osgeo.org/grass/changeset/41648 from devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41649 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 15 anos atrás
pai
commit
cf6896237f
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      gui/wxpython/gui_modules/gmodeler.py

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

@@ -209,7 +209,7 @@ class ModelFrame(wx.Frame):
             self.goutput.RunCmd(command = action.GetLog(string = False),
                                 onDone = self.OnDone)
         
-    def OnDone(self, event):
+    def OnDone(self, returncode):
         """!Computation finished"""
         self.SetStatusText('', 0)