mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02: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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user