Fixed a stupid visual bug in pygauge

This commit is contained in:
HomeWorld
2010-09-05 13:27:30 +03:00
parent 673a175924
commit eccf44a88e

View File

@@ -168,6 +168,7 @@ class PyGauge(wx.PyWindow):
def SetValue(self, value):
""" Sets the current position of the gauge. """
if self._value == value:
self._overdrive = value
self.Refresh()
else:
self._oldValue = self._value