mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-03 16:14:30 +02:00
format
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
673f82e884
commit
6b3b54f061
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user