1
0
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:
Marc Zinnschlag 2013-11-30 15:04:25 +01:00
commit aa5369d02c

View File

@ -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;
} }