mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
LibGUI: Block ComboBox windows from using CommandPalette
This commit is contained in:
parent
8f38367d46
commit
7ac30f53a0
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue