Explorar o código

wxGUI: another fix related to MapsetSelect (changed to wx.combo.ComboCtrl)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58701 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=11) %!d(string=hai) anos
pai
achega
46e08a88cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/gui_core/forms.py

+ 1 - 1
gui/wxpython/gui_core/forms.py

@@ -1390,7 +1390,7 @@ class CmdPanel(wx.Panel):
                                                        value = value, new = new,
                                                        multiple = p.get('multiple', False))
                             textWin = win.GetTextCtrl()
-                            p['wxId'] = [ win.GetId(), ]
+                            p['wxId'] = [ textWin.GetId(), win.GetId() ]
                             
                             textWin.Bind(wx.EVT_TEXT, self.OnSetValue)
                             win.Bind(wx.EVT_TEXT, self.OnUpdateSelection)