From 058e6d15c11e0148414ad2a92b41b1f2da6f52ed Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Sat, 25 Feb 2023 14:19:08 -0500 Subject: [PATCH] Hide group column header choice when not in search * Fixes #9157 --- src/gui/entry/EntryView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/entry/EntryView.cpp b/src/gui/entry/EntryView.cpp index c992ead7b..0df283f65 100644 --- a/src/gui/entry/EntryView.cpp +++ b/src/gui/entry/EntryView.cpp @@ -347,6 +347,7 @@ void EntryView::showHeaderMenu(const QPoint& position) int columnIndex = action->data().toInt(); action->setChecked(!isColumnHidden(columnIndex)); } + actions[EntryModel::ParentGroup]->setVisible(inSearchMode()); m_headerMenu->popup(mapToGlobal(position)); }