[pitivi] titleeditor: Leave the focus on the timeline



commit 7013a832a9752ef7afbda9c0dbe3c1fc7fbd3512
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Thu Sep 6 10:31:24 2018 +0200

    titleeditor: Leave the focus on the timeline
    
    When clicking a title clip, its text area was focused so you can edit
    it, but the user has the impression the focus is still on the timeline
    since the timeline shows the clip as selected. This gives the impression
    that range selection with shift+click does not work, because the SHIFT
    key-press event is not registered by the timeline, but by the textarea.
    
    Fixes #2239

 pitivi/titleeditor.py | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/pitivi/titleeditor.py b/pitivi/titleeditor.py
index 47f3bf4d..66ef9b11 100644
--- a/pitivi/titleeditor.py
+++ b/pitivi/titleeditor.py
@@ -214,7 +214,6 @@ class TitleEditor(Loggable):
             self.source = source
             self.infobar.hide()
             self.editing_box.show()
-            self.textarea.grab_focus()
             self._children_props_handler = self.source.connect('deep-notify',
                                                                self._propertyChangedCb)
         else:


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