From 51b97c390d82981835f2a6d6100591da2c4cfa29 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 12 Dec 2017 09:00:37 -0600 Subject: [PATCH] fixed other bug Signed-off-by: Matt Bruce --- SingsALot/MainWindow.xaml.cs | 5 ++--- SingsALot/SingsALot.csproj | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/SingsALot/MainWindow.xaml.cs b/SingsALot/MainWindow.xaml.cs index 4dddc47..9211465 100644 --- a/SingsALot/MainWindow.xaml.cs +++ b/SingsALot/MainWindow.xaml.cs @@ -30,17 +30,16 @@ namespace SingsALot public MainWindow() { InitializeComponent(); + this.settings = new UserSettings(); // if default settings exist if (File.Exists(_UserSettingsPath)) { - this.settings = new UserSettings(); this.settings = settings.Read(_UserSettingsPath); songsLocation.Text = this.settings.songsLocationPath; controllerName.Text = this.settings.controllerName; - loading = false; - CheckVariables(); } + loading = false; } public UserSettings settings { get; private set; } diff --git a/SingsALot/SingsALot.csproj b/SingsALot/SingsALot.csproj index 459d707..20d4ef6 100644 --- a/SingsALot/SingsALot.csproj +++ b/SingsALot/SingsALot.csproj @@ -13,6 +13,7 @@ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 4 true + false publish\ true Disk @@ -27,7 +28,6 @@ Team Herse 0 1.0.0.%2a - false false true