[pitivi] timeline: Automatically focus the timeline after clips insertion
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Automatically focus the timeline after clips insertion
- Date: Sun, 22 Jan 2017 16:22:51 +0000 (UTC)
commit 8cbc06c06c95d650895c2bdcefe61f49e92c0e06
Author: Fabian Orccon <cfoch fabian gmail com>
Date: Sat Jan 21 11:45:46 2017 -0500
timeline: Automatically focus the timeline after clips insertion
Differential Revision: https://phabricator.freedesktop.org/D1616
pitivi/timeline/timeline.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 6ad33fc..b55b9ec 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -1342,6 +1342,7 @@ class TimelineContainer(Gtk.Grid, Zoomable, Loggable):
else:
raise TimelineError("Cannot insert: %s" % type(obj))
clip_position += duration
+ self.app.gui.focusTimeline()
if zoom_was_fitted:
self.timeline.set_best_zoom_ratio()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]