diff --git a/src/widgets/dialogs/SettingsDialog.cpp b/src/widgets/dialogs/SettingsDialog.cpp index a15b214d1..e33c260ed 100644 --- a/src/widgets/dialogs/SettingsDialog.cpp +++ b/src/widgets/dialogs/SettingsDialog.cpp @@ -104,8 +104,8 @@ void SettingsDialog::filterElements(const QString &text) for (auto &&tab : this->tabs_) { // filterElements returns true if anything on the page matches the search query - tab->setVisible(tab->name().contains(text, Qt::CaseInsensitive) || - tab->page()->filterElements(text)); + tab->setVisible(tab->page()->filterElements(text) || + tab->name().contains(text, Qt::CaseInsensitive)); } // find next visible page