Explorar el Código

wxGUI: fix showing statusbar text

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57241 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová hace 12 años
padre
commit
1abb7a5972
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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