mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibGUI: Remove Window::set_blocks_command_palette()
Since the logic to open the command palette is now in the form of an action, its keybinding is only bound when the window active. Thus, when a combo box or the emoji input dialog is active, the window isn't, and the command palette doesn't show up, without requiring special checks.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 05:07:23 +09:00
Author: https://github.com/demostanis Commit: https://github.com/SerenityOS/serenity/commit/28c1d7011f Pull-request: https://github.com/SerenityOS/serenity/pull/15596 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/linusg
@@ -99,7 +99,6 @@ EmojiInputDialog::EmojiInputDialog(Window* parent_window)
|
||||
VERIFY_NOT_REACHED();
|
||||
|
||||
set_frameless(true);
|
||||
set_blocks_command_palette(true);
|
||||
set_blocks_emoji_input(true);
|
||||
set_window_mode(GUI::WindowMode::CaptureInput);
|
||||
resize(400, 300);
|
||||
|
||||
Reference in New Issue
Block a user