[GRASS-SVN] r53322 - grass/branches/releasebranch_6_4/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 5 08:20:12 PDT 2012


Author: annakrat
Date: 2012-10-05 08:20:11 -0700 (Fri, 05 Oct 2012)
New Revision: 53322

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

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_core/gselect.py	2012-10-05 15:19:55 UTC (rev 53321)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_core/gselect.py	2012-10-05 15:20:11 UTC (rev 53322)
@@ -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