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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 8 19:40:51 PDT 2015


Author: annakrat
Date: 2015-04-08 19:40:51 -0700 (Wed, 08 Apr 2015)
New Revision: 65027

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI: attempt to fix #2650

Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2015-04-08 20:18:22 UTC (rev 65026)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2015-04-09 02:40:51 UTC (rev 65027)
@@ -1337,6 +1337,7 @@
                     selection = gselect.SignatureSelect(parent = which_panel, element = p.get('element', 'sig'))
                     p['wxId'] = [ selection.GetId() ]
                     selection.Bind(wx.EVT_TEXT, self.OnSetValue)
+                    selection.Bind(wx.EVT_COMBOBOX, 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)
@@ -1348,6 +1349,7 @@
                     win.SetValue(value)
                     p['wxId'] = [ win.GetId() ]
                     win.Bind(wx.EVT_TEXT, self.OnSetValue)
+                    win.Bind(wx.EVT_COMBOBOX, self.OnSetValue)
                     which_sizer.Add(item = win, 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