LibGUI: Block ComboBox windows from using CommandPalette

This commit is contained in:
thankyouverycool 2022-09-21 14:42:27 -04:00 committed by Andreas Kling
commit 7ac30f53a0
Notes: sideshowbarker 2024-07-17 06:43:23 +09:00

View file

@ -110,6 +110,7 @@ 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);