1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:17:44 +00: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:
demostanis 2022-10-14 20:31:22 +02:00 committed by Linus Groh
parent 6bb512d0b2
commit 28c1d7011f
5 changed files with 0 additions and 25 deletions

View file

@ -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);