[pitivi] Fix #602892 - clips deleted from the source list are not restored in the timeline when undoing.



commit b05c762f20461d496719f17dedb0dc5b8610f3a2
Author: Alessandro Decina <alessandro d gmail com>
Date:   Mon Feb 22 01:24:30 2010 +0100

    Fix #602892 - clips deleted from the source list are not restored in the timeline when undoing.

 pitivi/ui/sourcelist.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/sourcelist.py b/pitivi/ui/sourcelist.py
index 5c6818d..0eba319 100644
--- a/pitivi/ui/sourcelist.py
+++ b/pitivi/ui/sourcelist.py
@@ -613,9 +613,11 @@ class SourceList(gtk.VBox, Loggable):
             row = gtk.TreeRowReference(model, path)
             rows.append(row)
 
+        self.app.action_log.begin("remove clip from source list")
         for row in rows:
             uri = model[row.get_path()][COL_URI]
             self.app.current.sources.removeUri(uri)
+        self.app.action_log.commit()
 
     ## UI Button callbacks
 



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