Daniel Brötzmann pushed to branch mainwindow at gajim / gajim


Commits:
dcd37453 by wurstsalat at 2021-05-02T16:03:50+02:00
BaseControl: Grab focus after quoting

- - - - -


1 changed file:

- gajim/gtk/controls/base.py


Changes:

=====================================
gajim/gtk/controls/base.py
=====================================
@@ -706,6 +706,7 @@ def insert_as_quote(self, text: str) -> None:
         text = '> ' + text.replace('\n', '\n> ') + '\n'
         message_buffer = self.msg_textview.get_buffer()
         message_buffer.insert_at_cursor(text)
+        self.msg_textview.grab_focus()
 
     def paste_clipboard_as_quote(self, _item: Gtk.MenuItem) -> None:
         clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/dcd37453a6a21f0a5cff84a7f891a5c956e8c974

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/dcd37453a6a21f0a5cff84a7f891a5c956e8c974
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to