refactor: SettingsDialog, prevent updateControls from being called twice at startup
This commit is contained in:
committed by
Chris Rizzitello
parent
9268fef89d
commit
0bb8ff646a
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user