[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [qmlweb] src: Update PropertyAnimation on changes offrom and to.
From:       Anton Kreuzkamp <akreuzkamp () web ! de>
Date:       2014-02-28 22:32:34
Message-ID: E1WJVys-0007D6-Rb () scm ! kde ! org
[Download RAW message or body]

Git commit ea9a6b3691686512e41e24ed5217cabbf0b83c0f by Anton Kreuzkamp.
Committed on 28/02/2014 at 22:30.
Pushed by akreuzkamp into branch 'master'.

Update PropertyAnimation on changes offrom and to.

M  +2    -0    src/qtcore.js

http://commits.kde.org/qmlweb/ea9a6b3691686512e41e24ed5217cabbf0b83c0f

diff --git a/src/qtcore.js b/src/qtcore.js
index eddc070..29214d6 100644
--- a/src/qtcore.js
+++ b/src/qtcore.js
@@ -3420,6 +3420,8 @@ function QMLPropertyAnimation(meta) {
     this.properties = "";
     this.targets = [];
 
+    this.fromChanged.connect(this, this.$redoActions);
+    this.toChanged.connect(this, this.$redoActions);
     this.targetChanged.connect(this, redoTargets);
     this.targetsChanged.connect(this, redoTargets);
     this.propertyChanged.connect(this, redoProperties);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic