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

This commit is contained in:
xtemp09
2025-11-19 19:41:20 +07:00
committed by Chris Hennes
parent 6ada8e2cef
commit 0b5a0a6abb

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