only restore if configured

This commit is contained in:
2020-08-07 19:20:56 -04:00
parent a6e1c031c3
commit 3ff7c22bb7

View File

@@ -97,7 +97,9 @@ namespace TUFManager {
Notify.init (_ ("TUF Manager"));
restore ();
if (settings.get_boolean ("restore")) {
restore ();
}
thread = new Thread<void> ("poll_fan", this.poll_fan);
}