[pitivi] timeline: Set the project as changed when a layer is moved



commit cb97e1f91321481d3c3532b21832ccdf649e98b7
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Mon Oct 5 01:14:11 2015 +0200

    timeline: Set the project as changed when a layer is moved
    
    Differential Revision: https://phabricator.freedesktop.org/D329

 pitivi/timeline/timeline.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 8504185..dd7ef5c 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -823,6 +823,8 @@ class Timeline(Gtk.EventBox, Zoomable, Loggable):
         for i, layer in enumerate(layers):
             layer.set_priority(i)
 
+        self._project.setModificationState(True)
+
     def _addLayer(self, bLayer):
         control = LayerControls(bLayer, self.app)
         self.__layers_controls_vbox.pack_start(control, False, False, 0)


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