mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
Minimize changes
This commit is contained in:
@@ -1408,7 +1408,7 @@ void CModListView::doInstallMod(const QString & modName)
|
||||
|
||||
void CModListView::doUninstallMod(const QString & modName, bool silent)
|
||||
{
|
||||
if(!modStateModel->isModExists(modName) || !modStateModel->getMod(modName).isInstalled())
|
||||
if(modStateModel->isModExists(modName) && modStateModel->getMod(modName).isInstalled())
|
||||
return;
|
||||
|
||||
if(!silent)
|
||||
|
||||
Reference in New Issue
Block a user