diff options
-rw-r--r-- | gajim/groupchat_control.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gajim/groupchat_control.py b/gajim/groupchat_control.py index f109f68d0..4e88204e0 100644 --- a/gajim/groupchat_control.py +++ b/gajim/groupchat_control.py @@ -563,6 +563,10 @@ class GroupchatControl(ChatControlBase): if name == 'groupchat': transition = Gtk.StackTransitionType.SLIDE_UP self.msg_textview.grab_focus() + if name == 'muc-info': + # Set focus on the close button, otherwise one of the selectable labels + # of the GroupchatInfo box gets focus, which means it is fully selected + self.xml.info_close_button.grab_focus() self.xml.stack.set_visible_child_full(name, transition) def _get_current_page(self): |