Give better default sizing on startup to VTX/IDX columns

This commit is contained in:
baldurk
2017-07-19 16:18:17 +01:00
parent 599b6f1eaf
commit e005522152
2 changed files with 6 additions and 0 deletions
@@ -111,6 +111,8 @@ void RDHeaderView::cacheSections()
QVariant v = m->data(m->index(0, col), m_columnGroupRole);
if(v.isValid())
m_sections[col].group = v.toInt();
else
m_sections[col].group = -m_columnGroupRole - col;
if(col > 0)
{