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 83720e6960
commit 058e6d15c1
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

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