Explorar o código

Fixed a save error

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@36877 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho %!s(int64=16) %!d(string=hai) anos
pai
achega
b7077b68e2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/gui_modules/workspace.py

+ 1 - 1
gui/wxpython/gui_modules/workspace.py

@@ -454,7 +454,7 @@ class WriteWorkspaceFile(object):
                 self.indent += 4
                 for key, val in cmd[1].iteritems():
                     if key == 'flags':
-                        for f in opt['flags']:
+                        for f in val:
                             self.file.write('%s<flag name="%s" />\n' %
                                             (' ' * self.indent, f))
                     else: # parameter