[GRASS-SVN] r53321 - grass/branches/develbranch_6/gui/wxpython/gui_core

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


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

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_core/gselect.py
Log:
wxGUI: fixed map selection widget key bindings (merge from trunk, r53320)

Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/gselect.py	2012-10-05 15:19:01 UTC (rev 53320)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/gselect.py	2012-10-05 15:19:55 UTC (rev 53321)
@@ -88,7 +88,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