E5Gui/E5AnimatedWidget.py

changeset 4354
bc2b247a75df
parent 4353
cff7e27fb7b8
child 4356
975993ebd7fb
diff -r cff7e27fb7b8 -r bc2b247a75df E5Gui/E5AnimatedWidget.py
--- a/E5Gui/E5AnimatedWidget.py	Wed Aug 05 19:45:33 2015 +0200
+++ b/E5Gui/E5AnimatedWidget.py	Wed Aug 05 19:52:39 2015 +0200
@@ -102,9 +102,9 @@
             return
         
         self.__timeline.setDirection(QTimeLine.Backward)
+        self.__timeline.finished.connect(self.close)
         self.__timeline.start()
         
-        self.__timeline.finished.connect(self.close)
         
         p = self.parentWidget()
         if p is not None:

eric ide

mercurial