[GRASS-SVN] r58281 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Nov 22 07:28:17 PST 2013


Author: annakrat
Date: 2013-11-22 07:28:17 -0800 (Fri, 22 Nov 2013)
New Revision: 58281

Modified:
   grass/trunk/gui/wxpython/gui_core/goutput.py
Log:
show progressbar and stop button when the module starts (fix for #2137)

Modified: grass/trunk/gui/wxpython/gui_core/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/goutput.py	2013-11-22 13:58:44 UTC (rev 58280)
+++ grass/trunk/gui/wxpython/gui_core/goutput.py	2013-11-22 15:28:17 UTC (rev 58281)
@@ -427,9 +427,6 @@
 
     def OnCmdProgress(self, event):
         """!Update progress message info"""
-        if not self.outputSizer.IsShown(self.panelProgress):
-            self.outputSizer.Show(self.panelProgress)
-            self.outputSizer.Layout()
         self.progressbar.SetValue(event.value)
         event.Skip()
 
@@ -480,6 +477,8 @@
 
     def OnCmdRun(self, event):
         """!Run command"""
+        self.outputSizer.Show(self.panelProgress)
+        self.outputSizer.Layout()
         event.Skip()
 
     def OnCmdDone(self, event):



More information about the grass-commit mailing list