[GRASS-SVN] r58194 - grass/trunk/gui/wxpython/animation
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 11 04:47:27 PST 2013
Author: annakrat
Date: 2013-11-11 04:47:26 -0800 (Mon, 11 Nov 2013)
New Revision: 58194
Modified:
grass/trunk/gui/wxpython/animation/frame.py
Log:
wxGUI/animation: fix related to the r58190
Modified: grass/trunk/gui/wxpython/animation/frame.py
===================================================================
--- grass/trunk/gui/wxpython/animation/frame.py 2013-11-11 11:12:53 UTC (rev 58193)
+++ grass/trunk/gui/wxpython/animation/frame.py 2013-11-11 12:47:26 UTC (rev 58194)
@@ -405,6 +405,7 @@
self.framesCount = count
if self.framesCount > 1:
self.slider.SetRange(0, self.framesCount - 1)
+ self.EnableSlider(True)
else:
self.EnableSlider(False)
self._setLabel()
@@ -467,6 +468,7 @@
self.framesCount = len(timeLabels)
if self.framesCount > 1:
self.slider.SetRange(0, self.framesCount - 1)
+ self.EnableSlider(True)
else:
self.EnableSlider(False)
self._setLabel()
More information about the grass-commit
mailing list