[GRASS-SVN] r44030 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 24 11:11:01 EDT 2010


Author: martinl
Date: 2010-10-24 08:11:01 -0700 (Sun, 24 Oct 2010)
New Revision: 44030

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py
Log:
wxGUI/prompt: do not ignore '+'


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py	2010-10-24 12:00:22 UTC (rev 44029)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py	2010-10-24 15:11:01 UTC (rev 44030)
@@ -787,7 +787,7 @@
             self.CallTipShow(pos, usage + '\n\n' + description)
             
         elif (event.GetKeyCode() == wx.WXK_SPACE and event.ControlDown()) or \
-                event.GetKeyCode() == 61 or event.GetKeyCode() == 44:
+                (not event.ShiftDown() and (event.GetKeyCode() == 61 or event.GetKeyCode() == 44)):
             # Autocompletion for map/data file name entry after '=', ',', or manually
             pos = self.GetCurrentPos()
             entry = self.GetTextLeft()



More information about the grass-commit mailing list