[GRASS-SVN] r49000 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 29 18:00:27 EDT 2011


Author: martinl
Date: 2011-10-29 15:00:27 -0700 (Sat, 29 Oct 2011)
New Revision: 49000

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: default varible type changed from 'integer' to 'string'
	       (merge r48998 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py	2011-10-29 21:59:33 UTC (rev 48999)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py	2011-10-29 22:00:27 UTC (rev 49000)
@@ -4001,6 +4001,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)
         
@@ -4088,7 +4089,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