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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 5 08:19:01 PDT 2012


Author: annakrat
Date: 2012-10-05 08:19:01 -0700 (Fri, 05 Oct 2012)
New Revision: 53320

Modified:
   grass/trunk/gui/wxpython/gui_core/gselect.py
Log:
wxGUI: fixed map selection widget key bindings

Modified: grass/trunk/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/gselect.py	2012-10-05 13:11:50 UTC (rev 53319)
+++ grass/trunk/gui/wxpython/gui_core/gselect.py	2012-10-05 15:19:01 UTC (rev 53320)
@@ -94,7 +94,7 @@
      
     def OnKeyUp(self, event):
         """!Shows popupwindow if down arrow key is released"""
-        if event.GetKeyCode() == wx.WXK_DOWN:
+        if event.GetKeyCode() == wx.WXK_DOWN and not self.IsPopupShown():
             self.ShowPopup() 
         else:
             event.Skip()



More information about the grass-commit mailing list