Browse Source

Save settings before opening them

Daniel Chalmers 4 years ago
parent
commit
1cb923df24
1 changed files with 2 additions and 0 deletions
  1. 2 0
      DesktopClock/MainWindow.xaml.cs

+ 2 - 0
DesktopClock/MainWindow.xaml.cs

@@ -38,6 +38,8 @@ namespace DesktopClock
 
         private void MenuItemSettings_OnClick(object sender, RoutedEventArgs e)
         {
+            Settings.Default.Save();
+
             // Open settings file in notepad.
             Process.Start("notepad", Settings.Path);
         }