소스 검색

wxGUI: fix 'clear output'

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40198 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 년 전
부모
커밋
be0215d047
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      gui/wxpython/gui_modules/goutput.py

+ 2 - 0
gui/wxpython/gui_modules/goutput.py

@@ -515,7 +515,9 @@ class GMConsole(wx.SplitterWindow):
 
     def ClearHistory(self, event):
         """!Clear history of commands"""
+        self.cmd_output.SetReadOnly(False)
         self.cmd_output.ClearAll()
+        self.cmd_output.SetReadOnly(True)
         self.console_progressbar.SetValue(0)
 
     def SaveHistory(self, event):