Release v0.2.0
This commit is contained in:
@@ -247,7 +247,6 @@ public partial class MainWindow : Window
|
||||
|
||||
private void LoadSettings()
|
||||
{
|
||||
StartWithWindowsBox.IsChecked = _state.Settings.StartWithWindows;
|
||||
DndBox.IsChecked = _state.Settings.DndEnabled;
|
||||
RateLimitBox.Text = _state.Settings.MaxMessagesPerSecond.ToString();
|
||||
RetainDaysBox.Text = _state.Settings.RetainDays.ToString();
|
||||
@@ -257,13 +256,11 @@ public partial class MainWindow : Window
|
||||
|
||||
private void SaveSettings()
|
||||
{
|
||||
_state.Settings.StartWithWindows = StartWithWindowsBox.IsChecked == true;
|
||||
_state.Settings.DndEnabled = DndBox.IsChecked == true;
|
||||
_state.Settings.MaxMessagesPerSecond = ReadInt(RateLimitBox, _state.Settings.MaxMessagesPerSecond);
|
||||
_state.Settings.RetainDays = ReadInt(RetainDaysBox, _state.Settings.RetainDays);
|
||||
_state.Settings.RetainCount = ReadInt(RetainCountBox, _state.Settings.RetainCount);
|
||||
_state.Settings.LocalPort = ReadInt(PortBox, _state.Settings.LocalPort);
|
||||
StartupManager.Apply(_state.Settings.StartWithWindows);
|
||||
}
|
||||
|
||||
private void RefreshHistoryFilters()
|
||||
|
||||
Reference in New Issue
Block a user