diff --git a/launcher/ui/pages/instance/ModFolderPage.cpp b/launcher/ui/pages/instance/ModFolderPage.cpp index 0e56aeff8..5e06085a5 100644 --- a/launcher/ui/pages/instance/ModFolderPage.cpp +++ b/launcher/ui/pages/instance/ModFolderPage.cpp @@ -401,10 +401,10 @@ inline bool ModFolderPage::handleNoModLoader() // Should be safe auto profile = static_cast(this->m_instance)->getPackProfile(); InstallLoaderDialog dialog(profile, QString(), this); - dialog.exec(); + bool ret = dialog.exec(); this->m_container->refreshContainer(); // returning false so the caller can go and open up the dialog it was originally going to - return false; + return !ret; } case QMessageBox::No: { // Nothing happens the dialog is already closing