Hide group column header choice when not in search

* Fixes #9157
This commit is contained in:
Jonathan White committed 2023-03-30 07:22:41 -04:00
1 parent 2ee9d501ff
commit 3bbaeab278
1 file changed
+1
+1
View File
@@ -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));
}