From dac801c8ac388495bfc8a4376d01457553ef6bad Mon Sep 17 00:00:00 2001 From: dada513 Date: Sat, 30 Apr 2022 15:19:57 +0200 Subject: add hide java wizard toggle --- launcher/ui/pages/global/JavaPage.cpp | 2 + launcher/ui/pages/global/JavaPage.ui | 88 +++++++++++++++++++---------------- 2 files changed, 51 insertions(+), 39 deletions(-) (limited to 'launcher/ui') diff --git a/launcher/ui/pages/global/JavaPage.cpp b/launcher/ui/pages/global/JavaPage.cpp index f0616db1..b5e8de6c 100644 --- a/launcher/ui/pages/global/JavaPage.cpp +++ b/launcher/ui/pages/global/JavaPage.cpp @@ -97,6 +97,7 @@ void JavaPage::applySettings() s->set("JavaPath", ui->javaPathTextBox->text()); s->set("JvmArgs", ui->jvmArgsTextBox->text()); s->set("IgnoreJavaCompatibility", ui->skipCompatibilityCheckbox->isChecked()); + s->set("IgnoreJavaWizard", ui->skipJavaWizardCheckbox->isChecked()); JavaCommon::checkJVMArgs(s->get("JvmArgs").toString(), this->parentWidget()); } void JavaPage::loadSettings() @@ -121,6 +122,7 @@ void JavaPage::loadSettings() ui->javaPathTextBox->setText(s->get("JavaPath").toString()); ui->jvmArgsTextBox->setText(s->get("JvmArgs").toString()); ui->skipCompatibilityCheckbox->setChecked(s->get("IgnoreJavaCompatibility").toBool()); + ui->skipJavaWizardCheckbox->setChecked(s->get("IgnoreJavaWizard").toBool()); } void JavaPage::on_javaDetectBtn_clicked() diff --git a/launcher/ui/pages/global/JavaPage.ui b/launcher/ui/pages/global/JavaPage.ui index bb195770..7268601f 100644 --- a/launcher/ui/pages/global/JavaPage.ui +++ b/launcher/ui/pages/global/JavaPage.ui @@ -154,35 +154,6 @@ - - - - - - - - - - 0 - 0 - - - - - 28 - 16777215 - - - - ... - - - - - - - - @@ -196,21 +167,24 @@ - - + + 0 0 + + If enabled, the launcher will not check if an instance is compatible with the selected Java version. + - &Auto-detect... + &Skip Java compatibility checks - - + + 0 @@ -218,23 +192,59 @@ - &Test + &Auto-detect... - - + + + + + + + + + + 0 + 0 + + + + + 28 + 16777215 + + + + ... + + + + + + + 0 0 + + &Test + + + + + + + + - If enabled, the launcher will not check if an instance is compatible with the selected Java version. + If enabled, the launcher will not prompt you to choose a Java version if one isn't found. - &Skip Java compatibility checks + Skip Java Wizard -- cgit From 1e03ef484dafc41a568442186d14dba44c42cc26 Mon Sep 17 00:00:00 2001 From: dada513 Date: Sat, 30 Apr 2022 16:14:48 +0200 Subject: Update launcher/ui/pages/global/JavaPage.ui Co-authored-by: Sefa Eyeoglu --- launcher/ui/pages/global/JavaPage.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'launcher/ui') diff --git a/launcher/ui/pages/global/JavaPage.ui b/launcher/ui/pages/global/JavaPage.ui index 7268601f..2e553619 100644 --- a/launcher/ui/pages/global/JavaPage.ui +++ b/launcher/ui/pages/global/JavaPage.ui @@ -244,7 +244,7 @@ If enabled, the launcher will not prompt you to choose a Java version if one isn't found. - Skip Java Wizard + Skip Java &Wizard -- cgit From 5662d410628f0df43d3b15ae493bed85915ac799 Mon Sep 17 00:00:00 2001 From: dada513 Date: Sat, 30 Apr 2022 16:20:05 +0200 Subject: Update launcher/ui/pages/global/JavaPage.ui Co-authored-by: Sefa Eyeoglu --- launcher/ui/pages/global/JavaPage.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'launcher/ui') diff --git a/launcher/ui/pages/global/JavaPage.ui b/launcher/ui/pages/global/JavaPage.ui index 2e553619..cfcf9094 100644 --- a/launcher/ui/pages/global/JavaPage.ui +++ b/launcher/ui/pages/global/JavaPage.ui @@ -244,7 +244,7 @@ If enabled, the launcher will not prompt you to choose a Java version if one isn't found. - Skip Java &Wizard + Skip Java &Wizard -- cgit