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

@ -22,8 +22,6 @@ public:
virtual GVariant data(const GModelIndex&, Role = Role::Display) const override;
virtual void update() override;
Function<void(IRCWindow&)> on_activation;
private:
explicit IRCWindowListModel(IRCClient&);