Fixed the content selector checkboxes appearing as partially checked

actorid
pvdk 11 years ago
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…
Cancel
Save