[pitivi] undo: Always commit the timeline on Clip property change when undoing
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] undo: Always commit the timeline on Clip property change when undoing
- Date: Sat, 13 Dec 2014 19:11:36 +0000 (UTC)
commit 164f7a7f6bc15c0d8c95fdffe420408d49476192
Author: Thibault Saunier <tsaunier gnome org>
Date: Mon Dec 1 01:00:47 2014 +0100
undo: Always commit the timeline on Clip property change when undoing
Otherwise the timeline won't be updated and the user will not see any
change from the undone/redone action
pitivi/undo/timeline.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/undo/timeline.py b/pitivi/undo/timeline.py
index a7f2709..742576e 100644
--- a/pitivi/undo/timeline.py
+++ b/pitivi/undo/timeline.py
@@ -290,11 +290,13 @@ class ClipPropertyChanged(UndoableAction):
def do(self):
self.clip.set_property(
self.property_name.replace("-", "_"), self.new_value)
+ self.clip.get_layer().get_timeline().get_asset().pipeline.commit_timeline()
self._done()
def undo(self):
self.clip.set_property(
self.property_name.replace("-", "_"), self.old_value)
+ self.clip.get_layer().get_timeline().get_asset().pipeline.commit_timeline()
self._undone()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]