[pitivi] Commit the timeline when removing a layer



commit 9a27aa6fe8c6de903ea5319c7dc46dc5cb34762e
Author: Thibault Saunier <tsaunier gnome org>
Date:   Mon Dec 1 00:46:43 2014 +0100

    Commit the timeline when removing a layer

 pitivi/timeline/layer.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/layer.py b/pitivi/timeline/layer.py
index 3d3919d..8247568 100644
--- a/pitivi/timeline/layer.py
+++ b/pitivi/timeline/layer.py
@@ -219,6 +219,7 @@ class BaseLayerControl(Gtk.VBox, Loggable):
 
     def _deleteLayerCb(self, unused_widget):
         self._control_container.timeline.bTimeline.remove_layer(self.layer)
+        self._control_container.timeline.bTimeline.get_asset().pipeline.commit_timeline()
 
     def _moveLayerCb(self, unused_widget, step):
         index = self.layer.get_priority()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]