diff options
| author | Al12rs <gabriel.cortesi@outlook.com> | 2018-09-29 15:07:24 +0200 |
|---|---|---|
| committer | Al12rs <gabriel.cortesi@outlook.com> | 2018-09-29 15:07:24 +0200 |
| commit | 15ab8d5c5e9b5a06ad61247aa81f4673a42595e6 (patch) | |
| tree | 756b59e6d6075ad7c3153455d87c024068d0fbe8 /src/modlist.cpp | |
| parent | 192f14b001201d2d76fbbd12465dbe01623cf3fb (diff) | |
Changed "ignore missing game data" to not create an empty Texture folder and instead save the choice in meta.ini
Diffstat (limited to 'src/modlist.cpp')
| -rw-r--r-- | src/modlist.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp index bcd087bc..c7f6a53b 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -768,6 +768,8 @@ IModList::ModStates ModList::state(unsigned int modIndex) const QSharedPointer<ModInfoRegular> modInfoRegular = modInfo.staticCast<ModInfoRegular>();
if (modInfoRegular->isAlternate() && !modInfoRegular->isConverted())
result |= IModList::STATE_ALTERNATE;
+ if (!modInfo->isValid() && modInfoRegular->isValidated())
+ result |= IModList::STATE_VALID;
}
if (modInfo->canBeEnabled()) {
if (m_Profile->modEnabled(modIndex)) {
@@ -1263,4 +1265,4 @@ void ModList::disableSelected(const QItemSelectionModel *selectionModel) }
}
}
-}
\ No newline at end of file +}
|
