mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
LibGUI: Don't search ComboBox Windows when holding a mod key
This commit is contained in:
parent
5c923977b7
commit
4ba20f08c7
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ ComboBox::ComboBox()
|
|||
m_editor->on_keypress = [this](KeyEvent& event) {
|
||||
if (!m_only_allow_values_from_model)
|
||||
return;
|
||||
if (!m_list_window->is_visible() && event.key() <= Key_Z && event.key() >= Key_A) {
|
||||
if (!m_list_window->is_visible() && event.key() <= Key_Z && event.key() >= Key_A && event.modifiers() == Mod_None) {
|
||||
open();
|
||||
m_list_window->event(event);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue