summaryrefslogtreecommitdiff
path: root/src/editorui
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/editorui/editormain.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/editorui/editormain.py b/src/editorui/editormain.py
index 4d8e1af..09bc4a3 100644
--- a/src/editorui/editormain.py
+++ b/src/editorui/editormain.py
@@ -32,7 +32,7 @@ class KPMapScene(QtGui.QGraphicsScene):
for timeline in self.timeLines:
timeline.start()
- self.views()[0].update()
+ self.views()[0].viewport().update()
else:
self.playing = False
@@ -41,12 +41,12 @@ class KPMapScene(QtGui.QGraphicsScene):
for timeline in self.timeLines:
timeline.stop()
- self.views()[0].update()
+ self.views()[0].viewport().update()
@QtCore.pyqtSlot(int)
def thing(self, value):
- self.views()[0].update()
+ self.views()[0].viewport().update()
def drawBackground(self, painter, rect):