mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 23:42:17 +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
Notes:
sideshowbarker
2024-07-19 07:59:37 +09:00
Author: https://github.com/bcoles
Commit: 526386a6ba
Pull-request: https://github.com/SerenityOS/serenity/pull/1578
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