From 6fa038130cab19aa90ca849e3f79b03f3e23c20f Mon Sep 17 00:00:00 2001 From: Aragas Date: Sat, 17 Dec 2016 19:15:15 +0300 Subject: [PATCH] Bug fix Version update --- P3D-Legacy Launcher/Data/ProfilesYaml.cs | 2 +- P3D-Legacy Launcher/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/P3D-Legacy Launcher/Data/ProfilesYaml.cs b/P3D-Legacy Launcher/Data/ProfilesYaml.cs index 7f5a6bb..325883b 100644 --- a/P3D-Legacy Launcher/Data/ProfilesYaml.cs +++ b/P3D-Legacy Launcher/Data/ProfilesYaml.cs @@ -20,7 +20,7 @@ public class ProfilesYaml private int _selectedProfileIndex; public int SelectedProfileIndex { get { return _selectedProfileIndex; } set { if(value > 0 || value < ProfileList.Count) _selectedProfileIndex = value; } } - public List ProfileList { get; private set; } + public List ProfileList { get; private set; } = new List(); public ProfileYaml GetProfile() => ProfileList.Any() ? ProfileList[SelectedProfileIndex] : null; public bool IsValid() => GetProfile() != null && GetProfile().Name != null && GetProfile().Version != null; diff --git a/P3D-Legacy Launcher/Properties/AssemblyInfo.cs b/P3D-Legacy Launcher/Properties/AssemblyInfo.cs index b407724..3c6049b 100644 --- a/P3D-Legacy Launcher/Properties/AssemblyInfo.cs +++ b/P3D-Legacy Launcher/Properties/AssemblyInfo.cs @@ -11,5 +11,5 @@ [assembly: Guid("d2a9c01e-686f-4aea-8b8c-5ae04387f0e0")] -[assembly: AssemblyVersion("1.2.4.0")] -[assembly: AssemblyFileVersion("1.2.4.0")] +[assembly: AssemblyVersion("1.2.5.0")] +[assembly: AssemblyFileVersion("1.2.5.0")]