[GRASS-SVN] r42615 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 20 18:40:58 EDT 2010


Author: martinl
Date: 2010-06-20 22:40:58 +0000 (Sun, 20 Jun 2010)
New Revision: 42615

Modified:
   grass/trunk/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: fix OnRunModel


Modified: grass/trunk/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2010-06-20 22:05:58 UTC (rev 42614)
+++ grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2010-06-20 22:40:58 UTC (rev 42615)
@@ -779,11 +779,11 @@
                 dlg.Destroy()
                 return
         
-        err = dlg.GetErrors()
-        if err:
-            GMessage(parent = self,
-                     message = unicode('\n'.join(err)))
-            return
+            err = dlg.GetErrors()
+            if err:
+                GMessage(parent = self,
+                         message = unicode('\n'.join(err)))
+                return
         
         self.goutput.cmdThread.SetId(-1)
         for action in self.model.GetActions():



More information about the grass-commit mailing list