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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 6 07:45:42 PST 2015


Author: annakrat
Date: 2015-01-06 07:45:42 -0800 (Tue, 06 Jan 2015)
New Revision: 63967

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI: fix selection widget problem #2533

Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2015-01-06 15:25:40 UTC (rev 63966)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2015-01-06 15:45:42 UTC (rev 63967)
@@ -1273,7 +1273,9 @@
                                         flag = wx.ADJUST_MINSIZE | wx.BOTTOM | wx.LEFT | wx.RIGHT | wx.TOP | wx.ALIGN_CENTER_VERTICAL,
                                         border = 5)
                     elif prompt == 'group':
-                        selection.Bind(wx.EVT_TEXT, self.OnUpdateSelection)
+                        win = self.FindWindowById(p['wxId'][0])
+                        win.Bind(wx.EVT_TEXT, self.OnUpdateSelection)
+                        win.Bind(wx.EVT_TEXT, self.OnSetValue)
                         which_sizer.Add(item = selection, proportion = 0,
                                         flag = wx.ADJUST_MINSIZE | wx.BOTTOM | wx.LEFT | wx.RIGHT | wx.TOP | wx.ALIGN_CENTER_VERTICAL,
                                         border = 5)



More information about the grass-commit mailing list