[pitivi/1.0] titleeditor: Leave the focus on the timeline



commit 53f5f5c7e662902c5ed6180c6b8278ae8ca4cc86
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 67a58048..95f32701 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]