Browse Source

wxGUI/modeler: cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41812 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 years ago
parent
commit
4bb1bb79e7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      gui/wxpython/gui_modules/gmodeler.py

+ 3 - 3
gui/wxpython/gui_modules/gmodeler.py

@@ -520,9 +520,7 @@ class ModelFrame(wx.Frame):
         self.modelFile = filename
         self.SetTitle(self.baseTitle + " - " +  os.path.basename(self.modelFile))
         
-        busy = wx.BusyInfo(message=_("Please wait, loading model..."),
-                           parent=self)
-        wx.Yield()
+        self.SetStatusText(_("Please wait, loading model..."), 0)
         
         # load actions
         for action in gxmXml.actions:
@@ -576,6 +574,8 @@ class ModelFrame(wx.Frame):
             
             actionShape.AddData(dataShape)
         
+        self.SetStatusText('', 0)
+        
         self.canvas.Refresh(True)
         
     def WriteModelFile(self, filename):