Bladeren bron

wxGUI: fix MapsetSelect (backward compatibility)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58643 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 jaren geleden
bovenliggende
commit
4bb6c1b09f
1 gewijzigde bestanden met toevoegingen van 7 en 1 verwijderingen
  1. 7 1
      gui/wxpython/gui_core/gselect.py

+ 7 - 1
gui/wxpython/gui_core/gselect.py

@@ -1128,7 +1128,13 @@ class MapsetSelect(wx.combo.ComboCtrl):
             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,