Files
SharpIDE/src/SharpIDE.Godot/Features/SlnPicker/AutoOpenLastSlnButton.cs
Matt Parker 24dc7f5b1f add setting
2025-10-02 21:16:38 +10:00

12 lines
336 B
C#

using Godot;
namespace SharpIDE.Godot.Features.SlnPicker;
public partial class AutoOpenLastSlnButton : CheckBox
{
public override void _Ready()
{
ButtonPressed = Singletons.AppState.IdeSettings.AutoOpenLastSolution;
Pressed += () => Singletons.AppState.IdeSettings.AutoOpenLastSolution = ButtonPressed;
}
}