[pitivi] clipproperties: Fixed a bug where keyframes were added on selection change
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] clipproperties: Fixed a bug where keyframes were added on selection change
- Date: Mon, 28 Aug 2017 22:07:00 +0000 (UTC)
commit 11ec85b811a6c247f5b8681449d19d0d6c5e1197
Author: Stefan Popa <stefanpopa2209 gmail com>
Date: Mon Jun 26 10:15:43 2017 +0300
clipproperties: Fixed a bug where keyframes were added on selection change
When changing the selected clip, a new keyframe was added incorrectly. This
happened because the transformation spin buttons values were updated
before clearing the previous control bindings, which was interpreted as
a new keyframe being added on the old selected clip. The fix consists of
updating the spin buttons values after clearing the previous control
bindings.
Differential Revision: https://phabricator.freedesktop.org/D1769
pitivi/clipproperties.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index d0e5c07..ca5f2c8 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -816,8 +816,8 @@ class TransformationProperties(Gtk.Expander, Loggable):
pass
self.source = source
if self.source:
- self._update_spin_buttons()
self.__update_control_bindings()
+ self._update_spin_buttons()
self.__update_keyframes_ui()
self.source.connect("deep-notify", self.__source_property_changed_cb)
self.source.connect("control-binding-added", self._control_bindings_changed)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]