From 1ecf1e5dfd18e3722484beb55de86c8255a34ae8 Mon Sep 17 00:00:00 2001 From: tt2468 Date: Sat, 5 Jun 2021 23:09:02 -0700 Subject: [PATCH] SettingsDialog: Log when restart is required --- src/forms/SettingsDialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/forms/SettingsDialog.cpp b/src/forms/SettingsDialog.cpp index c739c109..42b20ffe 100644 --- a/src/forms/SettingsDialog.cpp +++ b/src/forms/SettingsDialog.cpp @@ -132,6 +132,7 @@ void SettingsDialog::SaveFormData() conf->Save(); if (needsRestart) { + blog(LOG_INFO, "[SettingsDialog::SaveFormData] A setting was changed which requires a server restart."); auto server = GetWebSocketServer(); server->Stop(); if (conf->ServerEnabled) {