mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00: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:
|
||||
{
|
||||
if (!file->isGameFile())
|
||||
return isChecked(file->filePath());
|
||||
if (file->isGameFile())
|
||||
return QVariant();
|
||||
|
||||
return mCheckStates[file->filePath()];
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user