From 0b5a0a6abb445f1da47c3d741ebd944498fd6ba5 Mon Sep 17 00:00:00 2001 From: xtemp09 Date: Wed, 19 Nov 2025 19:41:20 +0700 Subject: [PATCH] [GUI] Handle Enter and Escape in the search box in Preferences. --- src/Gui/Dialogs/DlgPreferencesImp.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Gui/Dialogs/DlgPreferencesImp.cpp b/src/Gui/Dialogs/DlgPreferencesImp.cpp index 73f1cde4e3..8a2ae44905 100644 --- a/src/Gui/Dialogs/DlgPreferencesImp.cpp +++ b/src/Gui/Dialogs/DlgPreferencesImp.cpp @@ -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