mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 03:35:27 +00:00
Merge remote-tracking branch 'pvdk/checkboxfix'
This commit is contained in:
commit
aa5369d02c
@ -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