mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +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:
|
||||
{
|
||||
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