GH-1453 report version file problems in the version page
This commit is contained in:
parent
495d320ce2
commit
1a0bbdd9ac
11 changed files with 305 additions and 26 deletions
|
@ -46,6 +46,10 @@ void ModListView::setModel ( QAbstractItemModel* model )
|
|||
head->setStretchLastSection(false);
|
||||
// HACK: this is true for the checkbox column of mod lists
|
||||
auto string = model->headerData(0,head->orientation()).toString();
|
||||
if(head->count() < 1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(!string.size())
|
||||
{
|
||||
head->setSectionResizeMode(0, QHeaderView::ResizeToContents);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue