[GUI] Handle Enter and Escape in the search box in Preferences.

(cherry picked from commit 0b5a0a6abb)
This commit is contained in:
xtemp09
2026-02-04 07:43:37 +01:00
committed by Max Wilfinger
parent 50b950d830
commit 09778d9922
-4
View File
@@ -1889,10 +1889,6 @@ void PreferencesSearchController::applyHighlightToWidget(QWidget* widget)
bool PreferencesSearchController::handleSearchBoxKeyPress(QKeyEvent* keyEvent)
{
if (!m_searchResultsList->isVisible() || m_searchResults.isEmpty()) {
return false;
}
switch (keyEvent->key()) {
case Qt::Key_Down: {
// Move selection down in popup, skipping separators