summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/EmojiInputDialog.cpp
diff options
context:
space:
mode:
authordemostanis <demostanis@protonmail.com>2022-10-14 20:31:22 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-25 10:21:18 +0100
commit28c1d7011f5f9c48c36be378fe8a3e73182253eb (patch)
treee113ad37a492c2b96883d7d19901220c69784da9 /Userland/Libraries/LibGUI/EmojiInputDialog.cpp
parent6bb512d0b2135474e9dd88449d37ecc99629856e (diff)
downloadserenity-28c1d7011f5f9c48c36be378fe8a3e73182253eb.zip
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.
Diffstat (limited to 'Userland/Libraries/LibGUI/EmojiInputDialog.cpp')
-rw-r--r--Userland/Libraries/LibGUI/EmojiInputDialog.cpp1
1 files changed, 0 insertions, 1 deletions
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);