Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
72d46785 by Dexter Gaon-Shatford at 2022-06-12T21:54:47+00:00
fix: Groupchat: don't steal active msg textbox focus
fixes #10900
- - - - -
1 changed file:
- gajim/gtk/controls/groupchat.py
Changes:
=====================================
gajim/gtk/controls/groupchat.py
=====================================
@@ -374,7 +374,9 @@ def _show_page(self, name: str) -> None:
transition = Gtk.StackTransitionType.SLIDE_DOWN
if name == 'groupchat':
transition = Gtk.StackTransitionType.SLIDE_UP
- self.msg_textview.grab_focus()
+ active_control = app.window.get_active_control()
+ if active_control == self:
+ self.msg_textview.grab_focus()
self.xml.stack.set_visible_child_full(name, transition)
def _get_current_page(self) -> str:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/72d467850a4a515e5010115d92dd4467fd2b59b0
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/72d467850a4a515e5010115d92dd4467fd2b59b0
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