mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-06 11:12:34 +01:00
fix query -nofocus
This commit is contained in:
parent
6ff9fb596e
commit
84f19881a3
@ -2873,7 +2873,7 @@ open_query (server *serv, char *nick, gboolean focus_existing)
|
||||
|
||||
sess = find_dialog (serv, nick);
|
||||
if (!sess)
|
||||
new_ircwindow (serv, nick, SESS_DIALOG, 1);
|
||||
new_ircwindow (serv, nick, SESS_DIALOG, focus_existing);
|
||||
else if (focus_existing)
|
||||
fe_ctrl_gui (sess, 2, 0); /* bring-to-front */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user