fix partial java download (#4472)

This commit is contained in:
Alexandru Ionut Tripon 2025-12-14 00:55:05 +02:00 committed by GitHub
commit ed63a355b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View file

@ -318,6 +318,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"));