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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 13 14:01:30 PDT 2013


Author: martinl
Date: 2013-10-13 14:01:30 -0700 (Sun, 13 Oct 2013)
New Revision: 57990

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI/forms: fix EVT_TEXT for PictureComboBoxes


Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2013-10-13 20:47:05 UTC (rev 57989)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2013-10-13 21:01:30 UTC (rev 57990)
@@ -1584,7 +1584,7 @@
                         cb.SetValue(value) # parameter previously set
                     which_sizer.Add(item = cb, proportion = 0,
                                     flag = wx.ADJUST_MINSIZE | wx.BOTTOM | wx.LEFT, border = 5)
-                    p['wxId'] = [cb.GetId(),]
+                    p['wxId'] = [cb.GetTextCtrl().GetId(),]
                     cb.Bind(wx.EVT_COMBOBOX, self.OnSetValue)
                     cb.Bind(wx.EVT_TEXT, self.OnSetValue)
                     if p.get('guidependency', ''):



More information about the grass-commit mailing list