Stop cleanup timer if there is nothing to be cleaned

This commit is contained in:
HomeWorld
2010-10-31 18:30:49 +02:00
parent f8c29a6661
commit 002f613bc7

View File

@@ -1324,6 +1324,8 @@ class FitItem(wx.Window):
self.btnsStatus = ""
self.Refresh()
self.cleanupTimer.Stop()
else:
self.cleanupTimer.Stop()
event.Skip()
def StartCleanupTimer(self):