[pitivi] project: Always set auto-transition to true on newly created timelines
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] project: Always set auto-transition to true on newly created timelines
- Date: Thu, 10 Oct 2013 20:45:22 +0000 (UTC)
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]