소스 검색

wxGUI/modeler: cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41812 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 년 전
부모
커밋
4bb1bb79e7
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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):