only restore if configured

This commit is contained in:
Chris Cromer 2020-08-07 19:20:56 -04:00
parent a6e1c031c3
commit 3ff7c22bb7
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A

View File

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