add option to toggle server watchdog thread

This commit is contained in:
dries.k
2023-07-09 15:03:10 +02:00
parent 9668fd6bb8
commit 84495caf43
5 changed files with 96 additions and 10 deletions

View File

@@ -94,7 +94,8 @@ class MainApplication(QtWidgets.QApplication):
self.link_callbacks()
self.init_shortcuts()
self.watchdog.start()
if settings.value("watchdog/enabled", type=bool):
self.watchdog.start()
def set_theme(self):
set_theme(self)