mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Allow the Group column to be toggled for entry view
This allows to show/hide the group column both in normal and search mode, finding a compromise for issue #6163
This commit is contained in:
parent
805574cac1
commit
7fe0e2629c
@ -96,7 +96,7 @@ EntryView::EntryView(QWidget* parent)
|
||||
// column index as data
|
||||
m_columnActions = new QActionGroup(this);
|
||||
m_columnActions->setExclusive(false);
|
||||
for (int visualIndex = 1; visualIndex < header()->count(); ++visualIndex) {
|
||||
for (int visualIndex = 0; visualIndex < header()->count(); ++visualIndex) {
|
||||
int logicalIndex = header()->logicalIndex(visualIndex);
|
||||
QString caption = m_model->headerData(logicalIndex, Qt::Horizontal, Qt::DisplayRole).toString();
|
||||
if (caption.isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user