Просмотр исходного кода

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 11 лет назад
Родитель
Сommit
46e08a88cc
1 измененных файлов с 1 добавлено и 1 удалено
  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)