1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-21 21:17:49 +02:00

handle (un)installing Extra Resolutions mod

This commit is contained in:
Andrey Filipenkov 2022-09-27 11:52:09 +03:00
parent d06977ecbb
commit 42ea458ccf

View File

@ -300,6 +300,9 @@ bool CModManager::doInstallMod(QString modname, QString archivePath)
loadMods();
modList->reloadRepositories();
if(modname == extraResolutionsMod)
sendExtraResolutionsEnabledChanged(true);
return true;
}
@ -320,6 +323,9 @@ bool CModManager::doUninstallMod(QString modname)
loadMods();
modList->reloadRepositories();
if(modname == extraResolutionsMod)
sendExtraResolutionsEnabledChanged(false);
return true;
}