Update launcher/ui/pages/instance/ModFolderPage.cpp

Co-authored-by: seth <getchoo@tuta.io>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
This commit is contained in:
Alexandru Ionut Tripon 2023-11-05 23:41:54 +02:00 committed by GitHub
parent bd9d5e0990
commit 3e7f9083ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,7 +215,7 @@ void ModFolderPage::updateMods()
return; return;
} }
if (APPLICATION->settings()->get("ModMetadataDisabled").toBool()) { if (APPLICATION->settings()->get("ModMetadataDisabled").toBool()) {
QMessageBox::critical(this, tr("Error"), tr("The mod update is disabled when the metadata is disabled!")); QMessageBox::critical(this, tr("Error"), tr("Mod updates are unavailable when metadata is disabled!"));
return; return;
} }
auto selection = m_filterModel->mapSelectionToSource(ui->treeView->selectionModel()->selection()).indexes(); auto selection = m_filterModel->mapSelectionToSource(ui->treeView->selectionModel()->selection()).indexes();