mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 09:45: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:
|
||||
{
|
||||
if (!file->isGameFile())
|
||||
return isChecked(file->filePath());
|
||||
if (file->isGameFile())
|
||||
return QVariant();
|
||||
|
||||
return mCheckStates[file->filePath()];
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue