[GRASS-SVN] r40198 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 2 10:22:44 EST 2010


Author: martinl
Date: 2010-01-02 10:22:44 -0500 (Sat, 02 Jan 2010)
New Revision: 40198

Modified:
   grass/trunk/gui/wxpython/gui_modules/goutput.py
Log:
wxGUI: fix 'clear output'


Modified: grass/trunk/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/goutput.py	2010-01-02 15:11:06 UTC (rev 40197)
+++ grass/trunk/gui/wxpython/gui_modules/goutput.py	2010-01-02 15:22:44 UTC (rev 40198)
@@ -515,7 +515,9 @@
 
     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):



More information about the grass-commit mailing list