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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 2 10:24:38 EST 2010


Author: martinl
Date: 2010-01-02 10:24:38 -0500 (Sat, 02 Jan 2010)
New Revision: 40199

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
Log:
wxGUI: fix 'clear output'
       (merge r40198 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2010-01-02 15:22:44 UTC (rev 40198)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2010-01-02 15:24:38 UTC (rev 40199)
@@ -514,7 +514,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