[GRASS-SVN] r68051 - grass/trunk/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 13 01:53:19 PST 2016


Author: martinl
Date: 2016-03-13 01:53:19 -0800 (Sun, 13 Mar 2016)
New Revision: 68051

Modified:
   grass/trunk/gui/wxpython/gmodeler/model.py
Log:
wxGUI/modeler: fix issue related to r68050

Modified: grass/trunk/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/model.py	2016-03-13 09:33:57 UTC (rev 68050)
+++ grass/trunk/gui/wxpython/gmodeler/model.py	2016-03-13 09:53:19 UTC (rev 68051)
@@ -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])



More information about the grass-commit mailing list