Skip to content

Commit

Permalink
Move settings upgrader
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Jan 6, 2024
1 parent 636f8de commit 41a4fc3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions src/HUDMerger/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ protected override void OnStartup(StartupEventArgs e)
base.OnStartup(e);

HUDMerger.Properties.Settings.Default.Upgrade();
HUDMerger.Properties.Settings.Default.Save();

MainWindow = new MainWindow
{
Expand Down
3 changes: 0 additions & 3 deletions src/HUDMerger/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@ public partial class MainWindow : Window
public MainWindow()
{
InitializeComponent();

Properties.Settings.Default.Upgrade();
Properties.Settings.Default.Save();
}
}

0 comments on commit 41a4fc3

Please sign in to comment.