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:
Xavier Valls authored and Jonathan White committed 2021-04-18 22:32:24 -04:00
1 parent 805574cac1
commit 7fe0e2629c
1 file changed
+1 -1
+1 -1
View File
@@ -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()) {