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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 13 01:33:57 PST 2016


Author: martinl
Date: 2016-03-13 01:33:57 -0800 (Sun, 13 Mar 2016)
New Revision: 68050

Modified:
   grass/trunk/gui/wxpython/gmodeler/model.py
Log:
g.gui.gmodeler - all layers rewritten by last output for more than one parameter (#2909)


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