[GRASS-SVN] r54017 - in grass/trunk/gui/wxpython: gmodeler lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Nov 24 23:09:54 PST 2012


Author: annakrat
Date: 2012-11-24 23:09:53 -0800 (Sat, 24 Nov 2012)
New Revision: 54017

Modified:
   grass/trunk/gui/wxpython/gmodeler/model.py
   grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI/gconsole: fix running model

Modified: grass/trunk/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/model.py	2012-11-24 22:18:17 UTC (rev 54016)
+++ grass/trunk/gui/wxpython/gmodeler/model.py	2012-11-25 07:09:53 UTC (rev 54017)
@@ -494,7 +494,7 @@
     def Run(self, log, onDone, parent = None):
         """!Run model
 
-        @param log logging window (see goutput.GConsole)
+        @param log logging window (see gconsole.GConsole)
         @param onDone on-done method
         @param parent window for messages or None
         """

Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py	2012-11-24 22:18:17 UTC (rev 54016)
+++ grass/trunk/gui/wxpython/lmgr/frame.py	2012-11-25 07:09:53 UTC (rev 54017)
@@ -470,7 +470,7 @@
         
         self.model = Model()
         self.model.LoadModel(filename)
-        self.model.Run(log = self._goutput, onDone = self.OnDone, parent = self)
+        self.model.Run(log = self._gconsole, onDone = self.OnDone, parent = self)
         
         dlg.Destroy()
         



More information about the grass-commit mailing list