[GRASS-SVN] r58643 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 8 09:58:03 PST 2014


Author: martinl
Date: 2014-01-08 09:58:02 -0800 (Wed, 08 Jan 2014)
New Revision: 58643

Modified:
   grass/trunk/gui/wxpython/gui_core/gselect.py
Log:
wxGUI: fix MapsetSelect (backward compatibility)


Modified: grass/trunk/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/gselect.py	2014-01-08 17:23:47 UTC (rev 58642)
+++ grass/trunk/gui/wxpython/gui_core/gselect.py	2014-01-08 17:58:02 UTC (rev 58643)
@@ -1128,7 +1128,13 @@
             mlist.remove(gisenv['MAPSET'])
         
         return mlist
-    
+
+    def GetStringSelection(self):
+        return self.GetValue()
+
+    def SetStringSelection(self, text):
+        return self.SetValue(text)
+
 class SubGroupSelect(wx.ComboBox):
     """!Widget for selecting subgroups"""
     def __init__(self, parent, id = wx.ID_ANY, size = globalvar.DIALOG_GSELECT_SIZE, 



More information about the grass-commit mailing list