select chat window once we open a new one
This commit is contained in:
parent
8fcaa914e1
commit
5c9e35cd0e
|
@ -2909,6 +2909,7 @@ class Interface:
|
||||||
# For JEP-0172
|
# For JEP-0172
|
||||||
if added_to_roster:
|
if added_to_roster:
|
||||||
ctrl.user_nick = gajim.nicks[account]
|
ctrl.user_nick = gajim.nicks[account]
|
||||||
|
gobject.idle_add(lambda: mw.window.grab_focus())
|
||||||
|
|
||||||
def on_open_chat_window(self, widget, contact, account, resource=None,
|
def on_open_chat_window(self, widget, contact, account, resource=None,
|
||||||
session=None):
|
session=None):
|
||||||
|
|
Loading…
Reference in New Issue