fixed other bug
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
c300c066aa
commit
51b97c390d
@ -30,17 +30,16 @@ namespace SingsALot
|
|||||||
public MainWindow()
|
public MainWindow()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
this.settings = new UserSettings();
|
||||||
// if default settings exist
|
// if default settings exist
|
||||||
if (File.Exists(_UserSettingsPath))
|
if (File.Exists(_UserSettingsPath))
|
||||||
{
|
{
|
||||||
|
|
||||||
this.settings = new UserSettings();
|
|
||||||
this.settings = settings.Read(_UserSettingsPath);
|
this.settings = settings.Read(_UserSettingsPath);
|
||||||
songsLocation.Text = this.settings.songsLocationPath;
|
songsLocation.Text = this.settings.songsLocationPath;
|
||||||
controllerName.Text = this.settings.controllerName;
|
controllerName.Text = this.settings.controllerName;
|
||||||
loading = false;
|
|
||||||
CheckVariables();
|
|
||||||
}
|
}
|
||||||
|
loading = false;
|
||||||
}
|
}
|
||||||
public UserSettings settings { get; private set; }
|
public UserSettings settings { get; private set; }
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,7 @@
|
|||||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
<PublishUrl>publish\</PublishUrl>
|
<PublishUrl>publish\</PublishUrl>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
<InstallFrom>Disk</InstallFrom>
|
<InstallFrom>Disk</InstallFrom>
|
||||||
@ -27,7 +28,6 @@
|
|||||||
<PublisherName>Team Herse</PublisherName>
|
<PublisherName>Team Herse</PublisherName>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user