Disable/enable mods with checkboxes. Needs testing.
A lot of testing!
This commit is contained in:
1 parent
449f55c3e6
commit
acf25d8a33
7 files changed
+277
-86
No files matched your search
@@ -44,8 +44,9 @@ void ModListView::setModel ( QAbstractItemModel* model )
|
||||
QTreeView::setModel ( model );
|
||||
auto head = header();
|
||||
head->setStretchLastSection(false);
|
||||
head->setSectionResizeMode(0, QHeaderView::Stretch);
|
||||
for(int i = 1; i < head->count(); i++)
|
||||
head->setSectionResizeMode(0, QHeaderView::ResizeToContents);
|
||||
head->setSectionResizeMode(1, QHeaderView::Stretch);
|
||||
for(int i = 2; i < head->count(); i++)
|
||||
head->setSectionResizeMode(i, QHeaderView::ResizeToContents);
|
||||
dropIndicatorPosition();
|
||||
}
|
||||
Reference in new issue
Block a user