Просмотр исходного кода

wxGUI/animation: fix progress dialog

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57937 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 11 лет назад
Родитель
Сommit
701a2f4a1b
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      gui/wxpython/animation/mapwindow.py

+ 3 - 3
gui/wxpython/animation/mapwindow.py

@@ -362,9 +362,9 @@ class BitmapProvider(object):
             if not force and name in self.bitmapPool and \
                self.bitmapPool[name].GetSize() == (self.imageWidth, self.imageHeight):
                 continue
-                count += 1
-                if len(raster) > maxLength:
-                    maxLength = len(raster)
+            count += 1
+            if len(raster) > maxLength:
+                maxLength = len(raster)
 
         return count, maxLength