Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2023-11-23 10:48:11 +02:00
parent 673f82e884
commit 6b3b54f061

View File

@@ -240,12 +240,13 @@ void ModFolderPage::updateMods(bool includeDeps)
return; return;
} }
if (m_instance != nullptr && m_instance->isRunning()) { if (m_instance != nullptr && m_instance->isRunning()) {
auto response = CustomMessageBox::selectable(this, tr("Confirm Update"), auto response =
tr("If you update mods while the game is running may cause mod duplication and game crashes.\n" CustomMessageBox::selectable(this, tr("Confirm Update"),
"The old files may not be deleted as they are in use.\n" tr("If you update mods while the game is running may cause mod duplication and game crashes.\n"
"Are you sure you want to do this?"), "The old files may not be deleted as they are in use.\n"
QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No, QMessageBox::No) "Are you sure you want to do this?"),
->exec(); QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No, QMessageBox::No)
->exec();
if (response != QMessageBox::Yes) if (response != QMessageBox::Yes)
return; return;