mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 10:29:59 +03:00
make sure if user changes java path also disable java management
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
ec7aaaadf3
commit
97180324ee
2 changed files with 5 additions and 5 deletions
|
|
@ -171,11 +171,6 @@ void JavaSettingsWidget::setupUi()
|
|||
m_verticalLayout->addSpacerItem(m_verticalSpacer);
|
||||
}
|
||||
});
|
||||
connect(m_ui->javaPathTextBox, &QLineEdit::textChanged, [this](QString newValue) {
|
||||
if (m_instance->settings()->get("JavaPath").toString() != newValue) {
|
||||
m_instance->settings()->set("AutomaticJava", false);
|
||||
}
|
||||
});
|
||||
}
|
||||
m_verticalLayout->addWidget(m_autoJavaGroupBox);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue