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

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
Version update
  • Loading branch information
Aragas committed Dec 17, 2016
1 parent ce80ef7 commit 6fa0381
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion P3D-Legacy Launcher/Data/ProfilesYaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ProfileYaml> ProfileList { get; private set; }
public List<ProfileYaml> ProfileList { get; private set; } = new List<ProfileYaml>();

public ProfileYaml GetProfile() => ProfileList.Any() ? ProfileList[SelectedProfileIndex] : null;
public bool IsValid() => GetProfile() != null && GetProfile().Name != null && GetProfile().Version != null;
Expand Down
4 changes: 2 additions & 2 deletions P3D-Legacy Launcher/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]

0 comments on commit 6fa0381

Please sign in to comment.