diff --git a/src/SharpIDE.Godot/Features/IdeSettings/AppState.cs b/src/SharpIDE.Godot/Features/IdeSettings/AppState.cs index 9580e4e..243a7a3 100644 --- a/src/SharpIDE.Godot/Features/IdeSettings/AppState.cs +++ b/src/SharpIDE.Godot/Features/IdeSettings/AppState.cs @@ -4,7 +4,7 @@ public class AppState { public string? LastOpenSolutionFilePath { get; set; } public IdeSettings IdeSettings { get; set; } = new IdeSettings(); - public HashSet PreviouslyOpenedSolutions { get; set; } = []; + public HashSet RecentSlns { get; set; } = []; } public class IdeSettings @@ -12,7 +12,7 @@ public class IdeSettings public bool AutoOpenLastSolution { get; set; } } -public record PreviouslyOpenedSln +public record RecentSln { public required string Name { get; set; } public required string FilePath { get; set; } diff --git a/src/SharpIDE.Godot/Features/SlnPicker/PreviousSlnEntry.cs b/src/SharpIDE.Godot/Features/SlnPicker/PreviousSlnEntry.cs index 0438b39..39b0b3a 100644 --- a/src/SharpIDE.Godot/Features/SlnPicker/PreviousSlnEntry.cs +++ b/src/SharpIDE.Godot/Features/SlnPicker/PreviousSlnEntry.cs @@ -9,16 +9,16 @@ public partial class PreviousSlnEntry : HBoxContainer private Label _slnNameLabel = null!; private Panel _slnColourPanel = null!; - public PreviouslyOpenedSln PreviouslyOpenedSln { get; set; } = null!; + public RecentSln RecentSln { get; set; } = null!; public override void _Ready() { - if (PreviouslyOpenedSln is null) return; + if (RecentSln is null) return; _slnNameLabel = GetNode