[pitivi] timeline: Focus timeline when an Asset is dropped



commit 258f54472ade61c6cdfd903f227db173942d00ef
Author: Aryan Kaushik <73686-Aryan20 users noreply gitlab gnome org>
Date:   Tue Apr 12 22:55:56 2022 +0000

    timeline: Focus timeline when an Asset is dropped
    
    Fixes #2455

 pitivi/timeline/timeline.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index a53d430e1..b3f98973b 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -1060,6 +1060,7 @@ class Timeline(Gtk.EventBox, Zoomable, Loggable):
                 for clip in self.dragging_group.get_children(False):
                     clip.get_layer().remove_clip(clip)
                 self._project.pipeline.commit_timeline()
+                self.app.gui.editor.focus_timeline()
 
             self.dragging_element = None
             self.__got_dragged = False


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