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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 29 17:59:01 EDT 2011


Author: martinl
Date: 2011-10-29 14:59:01 -0700 (Sat, 29 Oct 2011)
New Revision: 48998

Modified:
   grass/trunk/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: default varible type changed from 'integer' to 'string'


Modified: grass/trunk/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2011-10-29 21:56:45 UTC (rev 48997)
+++ grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2011-10-29 21:59:01 UTC (rev 48998)
@@ -3997,6 +3997,7 @@
                                          _("vector"),
                                          _("mapset"),
                                          _("file")])
+        self.type.SetSelection(2) # string
         self.value = wx.TextCtrl(parent = self, id = wx.ID_ANY)
         self.desc = wx.TextCtrl(parent = self, id = wx.ID_ANY)
         
@@ -4084,7 +4085,7 @@
             GError(parent = self,
                    message = msg)
         else:
-            self.type.SetSelection(0)
+            self.type.SetSelection(2) # string
             self.value.SetValue('')
             self.desc.SetValue('')
             self.UpdateModelVariables()



More information about the grass-commit mailing list