Fix mod list checkboxes

This commit is contained in:
Petr Mrázek 2014-01-03 22:29:30 +01:00
parent 116a6458b5
commit 8fa69307d2

View File

@ -416,7 +416,7 @@ QVariant ModList::data(const QModelIndex &index, int role) const
switch (index.column())
{
case ActiveColumn:
return mods[row].enabled();
return mods[row].enabled() ? Qt::Checked: Qt::Unchecked;
default:
return QVariant();
}