[GRASS-SVN] r44031 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

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


Author: martinl
Date: 2010-10-24 08:12:18 -0700 (Sun, 24 Oct 2010)
New Revision: 44031

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/prompt.py
Log:
wxGUI/prompt: do not ignore '+'
(merge r44030 from trunk)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/prompt.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/prompt.py	2010-10-24 15:11:01 UTC (rev 44030)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/prompt.py	2010-10-24 15:12:18 UTC (rev 44031)
@@ -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