From 4ba20f08c749f1a9ebc61ad2b3b312e4859af1b2 Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Thu, 17 Nov 2022 09:27:08 -0500 Subject: [PATCH] LibGUI: Don't search ComboBox Windows when holding a mod key --- Userland/Libraries/LibGUI/ComboBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGUI/ComboBox.cpp b/Userland/Libraries/LibGUI/ComboBox.cpp index a85c48a56b..7ab8e129c5 100644 --- a/Userland/Libraries/LibGUI/ComboBox.cpp +++ b/Userland/Libraries/LibGUI/ComboBox.cpp @@ -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); }