mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
IRCClient: Automatically disable/enable GUI actions upon window change
Toolbar and menu items related to channel operations are now enabled only when the active window is a channel.
This commit is contained in:
parent
855f9286fa
commit
526386a6ba
2 changed files with 12 additions and 13 deletions
|
@ -48,7 +48,7 @@ private:
|
|||
void setup_menus();
|
||||
void setup_widgets();
|
||||
void update_title();
|
||||
void update_part_action();
|
||||
void update_gui_actions();
|
||||
|
||||
NonnullRefPtr<IRCWindow> create_window(void* owner, IRCWindow::Type, const String& name);
|
||||
NonnullRefPtr<IRCClient> m_client;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue