fix: only regenerate the tls certificate if tls is enabled and we do not already have a certificate
This commit is contained in:
@ -353,7 +353,7 @@ void MainWindow::configScopesSaving()
|
||||
|
||||
void MainWindow::appConfigTlsChanged()
|
||||
{
|
||||
if (m_tlsUtility.isEnabled()) {
|
||||
if (m_tlsUtility.isEnabled() && !QFile::exists(m_appConfig.tlsCertPath())) {
|
||||
m_tlsUtility.generateCertificate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user