Skip to content

Commit

Permalink
changed fix from last commit
Browse files Browse the repository at this point in the history
more concise this way, keeps config management in one spot
  • Loading branch information
fmmmlee committed Nov 1, 2020
1 parent 51edfc0 commit c5ade6e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion application/GW2 Addon Manager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.3.0.1")]
[assembly: AssemblyVersion("1.3.0.2")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,7 @@ private void SelectDirectoryBtn_OnClick(object sender, RoutedEventArgs e)
pathSelectionDialog.IsFolderPicker = true;
CommonFileDialogResult result = pathSelectionDialog.ShowDialog();
if (result == (CommonFileDialogResult)1)
{
OpeningViewModel.GetInstance.GamePath = pathSelectionDialog.FileName;
_configurationManager.UserConfig.GamePath = pathSelectionDialog.FileName;
_configurationManager.SaveConfiguration();
}

}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ public string GamePath
if (value == _gamePath) return;
SetProperty(ref _gamePath, value);
_configurationManager.UserConfig.GamePath = value;
_configurationManager.SaveConfiguration();
}
}
private string _gamePath;
Expand Down

0 comments on commit c5ade6e

Please sign in to comment.