浏览代码

wxGUI: fix ;File -> Run model'

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62757 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父节点
当前提交
f7077b46c5
共有 2 个文件被更改,包括 2 次插入2 次删除
  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

@@ -517,7 +517,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()