From 28c1d7011f5f9c48c36be378fe8a3e73182253eb Mon Sep 17 00:00:00 2001 From: demostanis Date: Fri, 14 Oct 2022 20:31:22 +0200 Subject: 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. --- Userland/Libraries/LibGUI/EmojiInputDialog.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Userland/Libraries/LibGUI/EmojiInputDialog.cpp') diff --git a/Userland/Libraries/LibGUI/EmojiInputDialog.cpp b/Userland/Libraries/LibGUI/EmojiInputDialog.cpp index 9e89a151fe..551af22f71 100644 --- a/Userland/Libraries/LibGUI/EmojiInputDialog.cpp +++ b/Userland/Libraries/LibGUI/EmojiInputDialog.cpp @@ -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); -- cgit v1.2.3