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

This commit is contained in:
xtemp09
2026-02-03 21:57:29 +01:00
committed by Chris Hennes
parent 6ada8e2cef
commit 0b5a0a6abb
-4
View File
@@ -1944,10 +1944,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