Added auto java options to the java wizzard page
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
4c76f7afe0
commit
2f489d1aec
3 changed files with 48 additions and 0 deletions
|
@ -57,6 +57,8 @@ bool JavaWizardPage::validatePage()
|
|||
{
|
||||
auto settings = APPLICATION->settings();
|
||||
auto result = m_java_widget->validate();
|
||||
settings->set("AutomaticJavaSwitch", m_java_widget->autodetectJava());
|
||||
settings->set("AutomaticJavaDownload", m_java_widget->autodownloadJava());
|
||||
switch (result) {
|
||||
default:
|
||||
case JavaSettingsWidget::ValidationStatus::Bad: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue