Only reset default value if unchanged


When a timeline is disabled we set the value for each KeyframeGroup
back to its initial value. This can lead to flickering, if another timeline
"takes over". Therefore we only set back the value, if it still has the last
change from the KeyframeGroup.

Pick-to: 5.15 6.0 6.1 6.2
Task-number: QDS-3216
Change-Id: Ie85cdc971107cc42686b5896f10871b49331bf58
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
commit4ebfd9623a8e0c3a436fea607c25e46a8eaaf035
parent712b9e72a9bc61d66aa46a01a250b3420dbcebd0
authorThomas Hartmann <thomas.hartmann@qt.io>
committerTim Jenssen <tim.jenssen@qt.io>
commit timeMon, 28 Jun 2021 13:43:04 +0200