diff --git a/src/widgets/settingspages/GeneralPageView.cpp b/src/widgets/settingspages/GeneralPageView.cpp index 383bad1d..fc7aa16d 100644 --- a/src/widgets/settingspages/GeneralPageView.cpp +++ b/src/widgets/settingspages/GeneralPageView.cpp @@ -282,6 +282,12 @@ bool GeneralPageView::filterElements(const QString &query) continue; } + if (auto *x = dynamic_cast(widget.element)) + { + // Hide lines in search when not searching for full categories + x->hide(); + } + for (auto &&keyword : widget.keywords) { if (keyword.contains(query, Qt::CaseInsensitive) ||