#5627 Update Main Window fingerprint after SSL cert gen

This commit is contained in:
Andrew Nelless 2016-10-03 15:16:03 +01:00 committed by Andrew Nelless
parent d6bcdcbea7
commit 32f143f52b
1 changed files with 1 additions and 2 deletions

View File

@ -139,8 +139,6 @@ MainWindow::MainWindow(QSettings& settings, AppConfig& appConfig) :
m_pLabelPadlock->hide();
updateLocalFingerprint();
if (!appConfig.activationHasRun() && (appConfig.edition() == Unregistered)) {
ActivationDialog activationDialog (this, appConfig);
activationDialog.exec();
@ -152,6 +150,7 @@ MainWindow::MainWindow(QSettings& settings, AppConfig& appConfig) :
m_pSslCertificate->generateCertificate();
}
updateLocalFingerprint();
appConfig.saveSettings();
}