[pitivi] timeline/timeline.py: commit to action_log after adding a clip.



commit 0135c3c680f7c3ac9be883c901b313bc5d75b6c4
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date:   Mon Jul 15 03:55:55 2013 +0200

    timeline/timeline.py: commit to action_log after adding a clip.
    
    Always finish what you start.
    Also, TODO add a "ClipAdded" UndoableAction.

 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 b604c3f..f176049 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -742,6 +742,8 @@ class Timeline(Gtk.VBox, Zoomable):
         else:
             self.scrollToPosition(self.bTimeline.props.duration)
 
+        self.app.action_log.commit()
+
         self.bTimeline.commit()
 
     def purgeObject(self, asset_id):


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