diff options
author | demostanis <demostanis@protonmail.com> | 2022-10-14 20:31:22 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-25 10:21:18 +0100 |
commit | 28c1d7011f5f9c48c36be378fe8a3e73182253eb (patch) | |
tree | e113ad37a492c2b96883d7d19901220c69784da9 /Userland/Libraries/LibGUI/EmojiInputDialog.cpp | |
parent | 6bb512d0b2135474e9dd88449d37ecc99629856e (diff) | |
download | serenity-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.cpp | 1 |
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); |