forked from mirror/openmw-tes3mp
Fixed the content selector checkboxes appearing as partially checked
This commit is contained in:
parent
8b3e852ffc
commit
1512ac11ad
1 changed files with 5 additions and 2 deletions
|
@ -207,8 +207,11 @@ QVariant ContentSelectorModel::ContentModel::data(const QModelIndex &index, int
|
|||
|
||||
case Qt::CheckStateRole:
|
||||
{
|
||||
if (!file->isGameFile())
|
||||
return isChecked(file->filePath());
|
||||
if (file->isGameFile())
|
||||
return QVariant();
|
||||
|
||||
return mCheckStates[file->filePath()];
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue