mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-01 21:02:39 +08:00
fix: only regenerate the tls certificate if tls is enabled and we do not already have a certificate
This commit is contained in:
parent
500067a778
commit
d8e311fe59
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user