Browse Source

wxGUI: fix showing statusbar text

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57241 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 11 years ago
parent
commit
1abb7a5972
1 changed files with 2 additions and 0 deletions
  1. 2 0
      gui/wxpython/mapdisp/statusbar.py

+ 2 - 0
gui/wxpython/mapdisp/statusbar.py

@@ -277,9 +277,11 @@ class SbManager:
 
     def _progressShown(self):
         self._oldStatus = self.statusbar.GetStatusText(0)
+        self.choice.GetClientData(self.choice.GetSelection()).Hide()
 
     def _progressHidden(self):
         self.statusbar.SetStatusText(self._oldStatus, 0)
+        self.choice.GetClientData(self.choice.GetSelection()).Show()
 
     def OnToggleStatus(self, event):
         """!Toggle status text