Selaa lähdekoodia

wxGUI: fix 'File -> Run model'
(merge https://trac.osgeo.org/grass/changeset/62757 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62758 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 10 vuotta sitten
vanhempi
commit
c4e202b19c
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      gui/wxpython/gmodeler/model.py
  2. 1 1
      gui/wxpython/lmgr/frame.py

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

@@ -18,7 +18,7 @@ Classes:
  - model::WritePythonFile
  - model::ModelParamDialog
 
-(C) 2010-2013 by the GRASS Development Team
+(C) 2010-2014 by the GRASS Development Team
 
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.

+ 1 - 1
gui/wxpython/lmgr/frame.py

@@ -510,7 +510,7 @@ class GMFrame(wx.Frame):
         
         self.model = Model()
         self.model.LoadModel(filename)
-        self.model.Run(log = self._goutput, onDone = self.OnDone, parent = self)
+        self.model.Run(log = self.GetLogWindow(), onDone = self.OnDone, parent = self)
         
         dlg.Destroy()