Skip to content

Commit

Permalink
save popup setting instantly
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigma582 committed Jun 29, 2017
1 parent b8c831c commit 1f6f434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SWC.Tools.DefenseTracker/ViewModels/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public bool NotifyAlways
set
{
_notifyAlways = value;
SaveToConfig(NOTIFY_ALWAYS, value.ToString());
OnPropertyChanged();
}
}
Expand Down Expand Up @@ -152,7 +153,6 @@ private void Start(object o)
SaveToConfig(LISTENER_PLAYER_SECRET, _messageManager.PlayerSecret);
}

SaveToConfig(NOTIFY_ALWAYS, NotifyAlways.ToString());
//SaveToConfig(NOTIFY_ON_PROTECTION, NotifyOnProtection.ToString());
//SaveToConfig(NOTIFY_ON_SC, NotifyOnSc.ToString());
SaveToConfig(SC_UNITS_NOTIFICATION_COUNT, ScUnitsNotificationCount.ToString());
Expand Down

0 comments on commit 1f6f434

Please # to comment.