Philipp Hörist pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/groupchat_control.py
    ... ... @@ -563,6 +563,10 @@ class GroupchatControl(ChatControlBase):
    563 563
             if name == 'groupchat':
    
    564 564
                 transition = Gtk.StackTransitionType.SLIDE_UP
    
    565 565
                 self.msg_textview.grab_focus()
    
    566
    +        if name == 'muc-info':
    
    567
    +            # Set focus on the close button, otherwise one of the selectable labels
    
    568
    +            # of the GroupchatInfo box gets focus, which means it is fully selected
    
    569
    +            self.xml.info_close_button.grab_focus()
    
    566 570
             self.xml.stack.set_visible_child_full(name, transition)
    
    567 571
     
    
    568 572
         def _get_current_page(self):