mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 12:15:34 +00:00
Merge remote-tracking branch 'pvdk/checkboxfix'
This commit is contained in:
commit
aa5369d02c
1 changed files with 5 additions and 2 deletions
|
@ -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…
Reference in a new issue