[pitivi] project: Always set auto-transition to true on newly created timelines



commit e43c54df96cb570f4630dda16ad7eade33215d16
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Thu Oct 10 17:25:58 2013 -0300

    project: Always set auto-transition to true on newly created timelines

 pitivi/project.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index ed8cc14..ad831f3 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -848,6 +848,8 @@ class Project(Loggable, GES.Project):
         self.timeline = self.extract()
         if self.timeline is None:
             return False
+        if not self.timeline.get_layers():
+            self.timeline.props.auto_transition = True
         self._calculateNbLoadingAssets()
 
         self.timeline.selection = Selection()


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