Skip to content

Commit

Permalink
Hide group column header choice when not in search
Browse files Browse the repository at this point in the history
* Fixes #9157
  • Loading branch information
droidmonkey committed Mar 30, 2023
1 parent 2ee9d50 commit 3bbaeab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/entry/EntryView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 3bbaeab

Please sign in to comment.