fix: 初始化 StartEnabled 属性为 true (#15596)

link to 2ee039c8bd
This commit is contained in:
yali-hzy
2026-02-04 23:06:43 +08:00
committed by GitHub
parent 0b6f67a509
commit 72a65fe2f5

View File

@@ -220,7 +220,7 @@ public partial class CopilotViewModel : Screen
/// <summary>
/// Gets or sets a value indicating whether the start button is enabled.
/// </summary>
public bool StartEnabled { get => field; set => SetAndNotify(ref field, value); }
public bool StartEnabled { get => field; set => SetAndNotify(ref field, value); } = true;
private int _copilotTabIndex = 0;