mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
fix: 开始唤醒-手动切换账号运行时无法切换账号
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user