From 79a0b9edfbd63962b31325805e19ea270c81031d Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Sat, 2 Aug 2025 16:30:13 +1000 Subject: [PATCH] add setting --- src/SharpIDE.Photino/Components/IdeSettingsDialog.razor | 1 + src/SharpIDE.Photino/Models/AppState.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SharpIDE.Photino/Components/IdeSettingsDialog.razor b/src/SharpIDE.Photino/Components/IdeSettingsDialog.razor index f2ac366..249c859 100644 --- a/src/SharpIDE.Photino/Components/IdeSettingsDialog.razor +++ b/src/SharpIDE.Photino/Components/IdeSettingsDialog.razor @@ -4,6 +4,7 @@ + @code { diff --git a/src/SharpIDE.Photino/Models/AppState.cs b/src/SharpIDE.Photino/Models/AppState.cs index 2760b53..e66baaa 100644 --- a/src/SharpIDE.Photino/Models/AppState.cs +++ b/src/SharpIDE.Photino/Models/AppState.cs @@ -2,11 +2,12 @@ namespace SharpIDE.Photino.Models; public class AppState { - public required string SolutionFilePath { get; set; } + public required string? SolutionFilePath { get; set; } public required IdeSettings IdeSettings { get; set; } = new IdeSettings(); } public class IdeSettings { public bool AutoOpenLastSolution { get; set; } + public bool AutoOpenTerminalOnLaunch { get; set; } }