Browse Source

Fixed a save error

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@36877 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 16 years ago
parent
commit
b7077b68e2
1 changed files with 1 additions and 1 deletions
  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