IRCClient: Open query window immediately when created by the user.

When handling "/query nick", we now immediately switch to the new query.
This commit is contained in:
Andreas Kling 2019-07-13 11:54:01 +02:00
commit 5e6c1c6912
Notes: sideshowbarker 2024-07-19 13:18:19 +09:00
5 changed files with 37 additions and 7 deletions

View file

@ -13,6 +13,10 @@ public:
IRCAppWindow();
virtual ~IRCAppWindow() override;
static IRCAppWindow& the();
void set_active_window(IRCWindow&);
private:
void setup_client();
void setup_actions();