Merge pull request #5165 from arthomnix/quickplay-shortcut-fix

NOISSUE Fix server address text box in instance settings being always disabled on non-Quick Play instances
This commit is contained in:
Petr Mrázek 2024-12-16 02:15:26 +01:00 committed by GitHub
commit da03e0f7b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,6 +46,7 @@ InstanceSettingsPage::InstanceSettingsPage(BaseInstance *inst, QWidget *parent)
ui->worldRadioButton->setVisible(false);
ui->worldsComboBox->setVisible(false);
ui->serverAddressRadioButton->setChecked(true);
connect(ui->quickPlayGroupBox, &QGroupBox::toggled, ui->serverJoinAddress, &QLineEdit::setEnabled);
}
loadSettings();