Skip to content
Snippets Groups Projects
Commit 958884b8 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

grab focus on message widget when we change tab in tabbed chat window

parent 8b5d9237
No related branches found
No related tags found
No related merge requests found
......@@ -347,6 +347,8 @@ class tabbed_chat_Window:
child = self.xmls[jid].get_widget("vbox_tab")
nb = self.xml.get_widget("notebook")
nb.set_current_page(nb.page_num(child))
message = self.xmls[jid].get_widget('message')
message.grab_focus()
def new_user(self, user):
self.nb_unread[user.jid] = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment