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
commit 28c1d7011f
Notes: sideshowbarker 2024-07-17 05:07:23 +09:00
5 changed files with 0 additions and 25 deletions

View file

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