fix partial java download

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2025-12-12 09:34:54 +02:00
parent bc68192895
commit 0f7320ff1d
2 changed files with 6 additions and 3 deletions

View File

@@ -315,6 +315,7 @@ void InstallDialog::done(int result)
QString error = QString(tr("Could not determine Java download type!"));
CustomMessageBox::selectable(this, tr("Error"), error, QMessageBox::Warning)->show();
deletePath();
return;
}
#if defined(Q_OS_MACOS)
auto seq = makeShared<SequentialTask>(tr("Install Java"));