Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Commit

Permalink
Fix the registration of the new config...
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholastay committed May 22, 2016
1 parent 81a6bdf commit 01a82e0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions WpfNexDirect/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
</startup>
<userSettings>
<NexDirect.Properties.Settings>
<setting name="osuFolder" serializeAs="String">
<value />
</setting>
<setting name="overlayMode" serializeAs="String">
<value>False</value>
</setting>
Expand All @@ -28,6 +25,9 @@
<setting name="launchOsu" serializeAs="String">
<value>False</value>
</setting>
<setting name="osuFolder" serializeAs="String">
<value />
</setting>
</NexDirect.Properties.Settings>
</userSettings>
</configuration>
2 changes: 1 addition & 1 deletion WpfNexDirect/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public void checkOrPromptSongsDir()
{
if (File.Exists(Path.Combine(dialog.FileName, "osu!.exe")))
{
osuFolder = Path.Combine(dialog.FileName, "Songs");
osuFolder = dialog.FileName;
}
}
else
Expand Down
24 changes: 12 additions & 12 deletions WpfNexDirect/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions WpfNexDirect/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="NexDirect.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="osuFolder" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="overlayMode" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
Expand All @@ -20,5 +17,8 @@
<Setting Name="launchOsu" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="osuFolder" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>

0 comments on commit 01a82e0

Please sign in to comment.