[GRASS-SVN] r68082 - grass/branches/releasebranch_7_0/gui/wxpython/gmodeler
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 19 05:27:49 PDT 2016
Author: martinl
Date: 2016-03-19 05:27:49 -0700 (Sat, 19 Mar 2016)
New Revision: 68082
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py
Log:
g.gui.gmodeler - all layers rewritten by last output for more than one parameter (#2909)
(merge r68050:68051 from trunk)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py 2016-03-19 12:21:50 UTC (rev 68081)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py 2016-03-19 12:27:49 UTC (rev 68082)
@@ -552,7 +552,7 @@
:param onPrepare: on-prepare method
:param statusbar: wx.StatusBar instance or None
"""
- name = item.GetLabel()
+ name = '({0}) {1}'.format(item.GetId(), item.GetLabel())
if name in params:
paramsOrig = item.GetParams(dcopy = True)
item.MergeParams(params[name])
@@ -811,7 +811,7 @@
for action in self.GetItems(objType = ModelAction):
if not action.IsEnabled():
continue
- name = action.GetLabel()
+ name = '({0}) {1}'.format(action.GetId(), action.GetLabel())
params = action.GetParams()
increment = False
for f in params['flags']:
More information about the grass-commit
mailing list