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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 3 13:51:31 PST 2013


Author: martinl
Date: 2013-11-03 13:51:31 -0800 (Sun, 03 Nov 2013)
New Revision: 58147

Modified:
   grass/trunk/gui/wxpython/gmodeler/model.py
Log:
wxGUI/modeler: fix OnSave()

Modified: grass/trunk/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/model.py	2013-11-03 21:46:48 UTC (rev 58146)
+++ grass/trunk/gui/wxpython/gmodeler/model.py	2013-11-03 21:51:31 UTC (rev 58147)
@@ -1990,7 +1990,7 @@
         if text:
             self.fd.write('%s<condition>%s</condition>\n' %
                           (' ' * self.indent, self._filterValue(text)))
-        for item in loop.GetItems():
+        for item in loop.GetItems(self.model.GetItems(objType=ModelAction)):
             self.fd.write('%s<item>%d</item>\n' %
                           (' ' * self.indent, item.GetId()))
         self.indent -= 4



More information about the grass-commit mailing list