mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Check value changed
This commit is contained in:
parent
91f7a4fd55
commit
902c8f4412
1 changed files with 6 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ public partial class SettingsPaneGeneralViewModel : BaseModel
|
|||
get => Settings.StartFlowLauncherOnSystemStartup;
|
||||
set
|
||||
{
|
||||
if (Settings.StartFlowLauncherOnSystemStartup == value) return;
|
||||
|
||||
Settings.StartFlowLauncherOnSystemStartup = value;
|
||||
|
||||
try
|
||||
|
|
@ -83,6 +85,8 @@ public partial class SettingsPaneGeneralViewModel : BaseModel
|
|||
get => Settings.UseLogonTaskForStartup;
|
||||
set
|
||||
{
|
||||
if (UseLogonTaskForStartup == value) return;
|
||||
|
||||
Settings.UseLogonTaskForStartup = value;
|
||||
|
||||
if (StartFlowLauncherOnSystemStartup)
|
||||
|
|
@ -118,6 +122,8 @@ public partial class SettingsPaneGeneralViewModel : BaseModel
|
|||
get => Settings.AlwaysRunAsAdministrator;
|
||||
set
|
||||
{
|
||||
if (AlwaysRunAsAdministrator == value) return;
|
||||
|
||||
Settings.AlwaysRunAsAdministrator = value;
|
||||
|
||||
if (StartFlowLauncherOnSystemStartup && UseLogonTaskForStartup)
|
||||
|
|
|
|||
Loading…
Reference in a new issue