瀏覽代碼

wxGUI: statusbar text cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54476 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 年之前
父節點
當前提交
98306c817f
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      gui/wxpython/mapdisp/statusbar.py

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

@@ -1049,7 +1049,8 @@ class SbProgress(SbTextItem):
             else:
                 stText += ', '
             stText += '<%s>' % layer.GetName()
-        stText += '...'
+        if stText:
+            stText += '...'
         
         if  self.maps[map]['range'] != len(self.maps[map]['rendered']):
             if stText: