diff --git a/GameTracker-Agent/ViewModels/MainWindowViewModel.cs b/GameTracker-Agent/ViewModels/MainWindowViewModel.cs index dfc9075..ce082e2 100644 --- a/GameTracker-Agent/ViewModels/MainWindowViewModel.cs +++ b/GameTracker-Agent/ViewModels/MainWindowViewModel.cs @@ -197,7 +197,7 @@ public void ExitProgram(object obj) public void OpenOptions(object obj) { OptionWindow optionWindow = new OptionWindow(); - optionWindow.Show(); + optionWindow.ShowDialog(); Console.WriteLine("openOptions"); } diff --git a/GameTracker-Core/Models/Game.cs b/GameTracker-Core/Models/Game.cs index 7a5f385..c45624f 100644 --- a/GameTracker-Core/Models/Game.cs +++ b/GameTracker-Core/Models/Game.cs @@ -11,10 +11,10 @@ namespace GameTracker_Core.Models [JsonObject(MemberSerialization.OptIn)] public class Game { - [JsonProperty("Name")] + [JsonProperty("gameName")] private string _name; - [JsonProperty("Directory")] + [JsonProperty("gamePath")] private string _directoryPath;