diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-01-03 22:29:30 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-01-04 23:45:20 +0100 |
commit | 8fa69307d2d6fb19d157c134691834fc72659ebe (patch) | |
tree | b89cca40c44daacef2b29e406be64a084e6e4480 /logic/ModList.cpp | |
parent | 116a6458b5ba35c87f6a22783d509a1fe8672f24 (diff) | |
download | MultiMC-8fa69307d2d6fb19d157c134691834fc72659ebe.tar MultiMC-8fa69307d2d6fb19d157c134691834fc72659ebe.tar.gz MultiMC-8fa69307d2d6fb19d157c134691834fc72659ebe.tar.lz MultiMC-8fa69307d2d6fb19d157c134691834fc72659ebe.tar.xz MultiMC-8fa69307d2d6fb19d157c134691834fc72659ebe.zip |
Fix mod list checkboxes
Diffstat (limited to 'logic/ModList.cpp')
-rw-r--r-- | logic/ModList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/ModList.cpp b/logic/ModList.cpp index fd41bcf7..499623bf 100644 --- a/logic/ModList.cpp +++ b/logic/ModList.cpp @@ -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(); } |