[pitivi] timeline: Automatically focus the timeline after clips insertion



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]