fix: The Tls Fingerprint label not being shown on start up

This commit is contained in:
sithlord48
2024-12-30 07:55:58 -05:00
committed by Nick Bolton
parent 2294981525
commit 4f9494245f

View File

@ -204,7 +204,6 @@ void MainWindow::setupControls()
setWindowTitle(kAppName);
secureSocket(false);
updateLocalFingerprint();
ui->m_pLabelUpdate->setStyleSheet(kStyleNoticeLabel);
ui->m_pLabelUpdate->hide();
@ -360,7 +359,6 @@ void MainWindow::onConfigScopesSaving()
void MainWindow::onAppConfigTlsChanged()
{
updateLocalFingerprint();
if (m_TlsUtility.isEnabled()) {
m_TlsUtility.generateCertificate();
}
@ -674,6 +672,7 @@ void MainWindow::applyConfig()
ui->lineHostname->setText(m_AppConfig.serverHostname());
ui->lineClientIp->setText(m_ServerConfig.getClientAddress());
updateLocalFingerprint();
}
void MainWindow::applyCloseToTray() const