Explorar o código

g.gui.gmodeler: substitute all occurrences of variable in command (bugfix)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68848 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=9) %!d(string=hai) anos
pai
achega
f9301d2fc6
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      gui/wxpython/gmodeler/model.py

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

@@ -1206,7 +1206,6 @@ class ModelAction(ModelObject, ogl.DividedShape):
                 for idx in range(len(cmd)):
                 for idx in range(len(cmd)):
                     if pattern.search(cmd[idx]):
                     if pattern.search(cmd[idx]):
                         cmd[idx] = pattern.sub(value, cmd[idx])
                         cmd[idx] = pattern.sub(value, cmd[idx])
-                        break
                     idx += 1
                     idx += 1
 
 
         if string:
         if string: