refactor: SettingsDialog, prevent updateControls from being called twice at startup

This commit is contained in:
sithlord48
2025-08-19 22:51:50 -04:00
committed by Chris Rizzitello
parent 9268fef89d
commit 0bb8ff646a

View File

@ -43,7 +43,6 @@ SettingsDialog::SettingsDialog(QWidget *parent, const IServerConfig &serverConfi
ui->tabWidget->setCurrentIndex(0);
loadFromConfig();
updateControls();
adjustSize();
QApplication::processEvents();
@ -178,7 +177,7 @@ void SettingsDialog::loadFromConfig()
ui->rbIconColorful->setChecked(true);
qDebug() << "load from config done";
updateTlsControls();
updateControls();
}
void SettingsDialog::updateTlsControls()