Selaa lähdekoodia

wxGUI/modeler: fix issue related to https://trac.osgeo.org/grass/changeset/68050

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68051 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 9 vuotta sitten
vanhempi
commit
484ff35593
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      gui/wxpython/gmodeler/model.py

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

@@ -552,7 +552,7 @@ class Model(object):
         :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])