Merge pull request #1747 from Trial97/fix_initial_java

fix: java memory not set on initial setup
This commit is contained in:
Tayou 2023-10-24 19:04:56 +02:00 committed by GitHub
commit a161f5cfe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,8 +64,7 @@ bool JavaWizardPage::validatePage()
} }
case JavaSettingsWidget::ValidationStatus::AllOK: { case JavaSettingsWidget::ValidationStatus::AllOK: {
settings->set("JavaPath", m_java_widget->javaPath()); settings->set("JavaPath", m_java_widget->javaPath());
return true; } /* fallthrough */
}
case JavaSettingsWidget::ValidationStatus::JavaBad: { case JavaSettingsWidget::ValidationStatus::JavaBad: {
// Memory // Memory
auto s = APPLICATION->settings(); auto s = APPLICATION->settings();