@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user