diff options
Diffstat (limited to 'src/mapdata.py')
-rw-r--r-- | src/mapdata.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mapdata.py b/src/mapdata.py index d175046..5d46685 100644 --- a/src/mapdata.py +++ b/src/mapdata.py @@ -334,8 +334,12 @@ class KPDoodad(object): self.offsetTimer.start() def startTimeline(self): + if QtCore.QTimeLine.state(self) == 0: + QtCore.QTimeLine.start(self) + else: + QtCore.QTimeLine.stop(self) + QtCore.QTimeLine.start(self) - QtCore.QTimeLine.start(self) def cleanUpAnimations(self): myTimelines = self.timelines |