From 4dc8837b291d1ca565fbd76e4ce9de093aca6ee4 Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Thu, 9 Jul 2026 19:46:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BC=80=E5=A7=8B=E5=94=A4=E9=86=92-?= =?UTF-8?q?=E6=89=8B=E5=8A=A8=E5=88=87=E6=8D=A2=E8=B4=A6=E5=8F=B7=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E6=97=B6=E6=97=A0=E6=B3=95=E5=88=87=E6=8D=A2=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UserControl/TaskQueue/StartUpSettingsUserControlModel.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MaaWpfGui/ViewModels/UserControl/TaskQueue/StartUpSettingsUserControlModel.cs b/src/MaaWpfGui/ViewModels/UserControl/TaskQueue/StartUpSettingsUserControlModel.cs index 78322ba967..9f7cb59b09 100644 --- a/src/MaaWpfGui/ViewModels/UserControl/TaskQueue/StartUpSettingsUserControlModel.cs +++ b/src/MaaWpfGui/ViewModels/UserControl/TaskQueue/StartUpSettingsUserControlModel.cs @@ -22,7 +22,6 @@ using MaaWpfGui.Main; using MaaWpfGui.Models; using MaaWpfGui.Models.AsstTasks; using MaaWpfGui.ViewModels.UI; -using Newtonsoft.Json.Linq; using static MaaWpfGui.Main.AsstProxy; namespace MaaWpfGui.ViewModels.UserControl.TaskQueue; @@ -61,7 +60,7 @@ public class StartUpSettingsUserControlModel : TaskSettingsViewModel, StartUpSet Instances.TaskQueueViewModel.AddLog("Current task is not StartUpTask", UiLogColor.Error); return; } - var task = new StartUpTask() { AccountName = startUp.AccountName }; + var task = new StartUpTask() { AccountSwitchEnabled = true, AccountName = startUp.AccountName }; await Instances.TaskQueueViewModel.LinkStartWithTasks([task]); }