1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:48:13 +00:00

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
parent 8f38367d46
commit 7ac30f53a0

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