mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 05:25:13 +00:00
LibGUI: Don't search ComboBox Windows when holding a mod key
This commit is contained in:
parent
5c923977b7
commit
4ba20f08c7
Notes:
sideshowbarker
2024-07-17 04:18:21 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/4ba20f08c7 Pull-request: https://github.com/SerenityOS/serenity/pull/16098
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
Reference in a new issue