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/ComboBox.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/ComboBox.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/ComboBox.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/ComboBox.cpp b/Userland/Libraries/LibGUI/ComboBox.cpp index 83d2124a87..dc8f3041c1 100644 --- a/Userland/Libraries/LibGUI/ComboBox.cpp +++ b/Userland/Libraries/LibGUI/ComboBox.cpp @@ -115,7 +115,6 @@ ComboBox::ComboBox() m_list_window = add<Window>(window()); m_list_window->set_frameless(true); m_list_window->set_window_mode(WindowMode::CaptureInput); - m_list_window->set_blocks_command_palette(true); m_list_window->on_active_input_change = [this](bool is_active_input) { if (!is_active_input) { m_open_button->set_enabled(false); |