File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ void MinecraftSettingsWidget::loadSettings()
205205 m_ui->useZink ->setChecked (settings->get (" UseZink" ).toBool ());
206206
207207 // Elyby
208+ m_ui->elybyGroupBox ->setChecked (m_instance == nullptr || settings->get (" OverrideElyby" ).toBool ());
208209 m_ui->elySkinSystemComboBox ->setCurrentIndex (settings->get (" UseElySkins" ).toInt ());
209210 m_ui->useInjectorCheckBox ->setChecked (settings->get (" UseElyAuthlibInjector" ).toBool ());
210211
@@ -361,6 +362,9 @@ void MinecraftSettingsWidget::saveSettings()
361362 // Elyby
362363 bool elyby = m_instance == nullptr || m_ui->elybyGroupBox ->isChecked ();
363364
365+ if (m_instance != nullptr )
366+ settings->set (" OverrideElyby" , elyby);
367+
364368 if (elyby) {
365369 settings->set (" UseElySkins" , m_ui->elySkinSystemComboBox ->currentIndex ());
366370 settings->set (" UseElyAuthlibInjector" , m_ui->useInjectorCheckBox ->isChecked ());
You can’t perform that action at this time.
0 commit comments