Pārlūkot izejas kodu

wxGUI: quick prompt fix

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37400 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 gadi atpakaļ
vecāks
revīzija
20aa79a6ff
1 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. 2 3
      gui/wxpython/gui_modules/prompt.py

+ 2 - 3
gui/wxpython/gui_modules/prompt.py

@@ -8,7 +8,7 @@ Classes:
  - PromptListCtrl
  - PromptListCtrl
  - TextCtrlAutoComplete
  - TextCtrlAutoComplete
 
 
-(C) 2008-2009 by the GRASS Development Team
+(C) 2009 by the GRASS Development Team
 This program is free software under the GNU General Public
 This program is free software under the GNU General Public
 License (>=v2). Read the file COPYING that comes with GRASS
 License (>=v2). Read the file COPYING that comes with GRASS
 for details.
 for details.
@@ -104,8 +104,7 @@ class GPrompt:
             self.parent.statusbar.SetStatusText("")
             self.parent.statusbar.SetStatusText("")
         else:
         else:
             self.parent.statusbar.SetStatusText(_("Type GRASS command and run by pressing ENTER"))
             self.parent.statusbar.SetStatusText(_("Type GRASS command and run by pressing ENTER"))
-
-        event.Skip()
+            event.Skip()
         
         
 class PromptListCtrl(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin):
 class PromptListCtrl(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin):
     def __init__(self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition,
     def __init__(self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition,