[GRASS-SVN] r63283 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 28 19:31:47 PST 2014
Author: annakrat
Date: 2014-11-28 19:31:47 -0800 (Fri, 28 Nov 2014)
New Revision: 63283
Modified:
grass/trunk/gui/wxpython/gui_core/gselect.py
Log:
wxGUI/gselect: treectrl OnKeyDown doesn't exist anymore
Modified: grass/trunk/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/gselect.py 2014-11-29 03:20:03 UTC (rev 63282)
+++ grass/trunk/gui/wxpython/gui_core/gselect.py 2014-11-29 03:31:47 UTC (rev 63283)
@@ -110,12 +110,9 @@
def OnKeyDown(self, event):
"""Open popup and send key events to the tree."""
- if self.IsPopupShown():
- self.tcp.OnKeyDown(event)
- else:
- if event.GetKeyCode() == wx.WXK_DOWN:
- self.ShowPopup()
- event.Skip()
+ if event.GetKeyCode() == wx.WXK_DOWN:
+ self.ShowPopup()
+ event.Skip()
def SetElementList(self, type, mapsets = None):
"""Set element list
More information about the grass-commit
mailing list