Hide group column header choice when not in search

* Fixes #9157
This commit is contained in:
Jonathan White 2023-02-25 14:19:08 -05:00
parent 2ee9d501ff
commit 3bbaeab278

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));
}