[pitivi] Fix clip selection and grouping. Fixes #589803.



commit 04040415925a486c531f804165ecc0e941afd195
Author: Alessandro Decina <alessandro d gmail com>
Date:   Mon Jul 27 15:05:43 2009 +0200

    Fix clip selection and grouping. Fixes #589803.

 pitivi/timeline/timeline.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 25b895f..068e07d 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -36,7 +36,7 @@ SELECT = 0
 """Set the selection to the given set."""
 UNSELECT = 1
 """Remove the given set from the selection."""
-SELECT_ADD = 1
+SELECT_ADD = 2
 """Extend the selection with the given set"""
 
 class TimelineError(Exception):
@@ -1582,9 +1582,6 @@ class Timeline(Signallable, Loggable):
                 tracks.append(track_object.track)
                 new_timeline_object.addTrackObject(new_track_object)
 
-        for i, track_object in enumerate(new_timeline_object.track_objects):
-            tracks[i].addTrackObject(track_object)
-
         self.addTimelineObject(new_timeline_object)
 
         old_track_objects = []



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