summaryrefslogtreecommitdiff
path: root/src/mapdata.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mapdata.py6
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