mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
Fixed the content selector checkboxes appearing as partially checked
This commit is contained in:
parent
8b3e852ffc
commit
1512ac11ad
@ -207,8 +207,11 @@ QVariant ContentSelectorModel::ContentModel::data(const QModelIndex &index, int
|
|||||||
|
|
||||||
case Qt::CheckStateRole:
|
case Qt::CheckStateRole:
|
||||||
{
|
{
|
||||||
if (!file->isGameFile())
|
if (file->isGameFile())
|
||||||
return isChecked(file->filePath());
|
return QVariant();
|
||||||
|
|
||||||
|
return mCheckStates[file->filePath()];
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user