mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
fix: 粘贴作业集不会自动勾选多作业模式
This commit is contained in:
@@ -1208,9 +1208,6 @@ public partial class CopilotViewModel : Screen
|
||||
if (!writeToCache)
|
||||
{// 现在是暂时将所有本地作业不添加到列表
|
||||
}
|
||||
else if (CopilotTabIndex is 1)
|
||||
{ // 保全 不使用多作业列表
|
||||
}
|
||||
else if (copilotList)
|
||||
{
|
||||
switch (copilot.Difficulty)
|
||||
@@ -1288,11 +1285,7 @@ public partial class CopilotViewModel : Screen
|
||||
}
|
||||
}
|
||||
|
||||
if (UseCopilotList)
|
||||
{
|
||||
await AddSSSCopilotTaskToList(copilot, CopilotId);
|
||||
}
|
||||
|
||||
await AddSSSCopilotTaskToList(copilot, CopilotId);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1371,6 +1364,8 @@ public partial class CopilotViewModel : Screen
|
||||
}
|
||||
}
|
||||
|
||||
UseCopilotList = CopilotTabIndex is 0 or 2;
|
||||
|
||||
Log(copilotSet.Name, copilotSet.Description);
|
||||
_copilotCache = null;
|
||||
return;
|
||||
|
||||
@@ -476,8 +476,7 @@
|
||||
<StackPanel
|
||||
Margin="2.5,5"
|
||||
IsEnabled="{c:Binding 'CopilotTabIndex == 0 or CopilotTabIndex == 2'}"
|
||||
Orientation="Horizontal"
|
||||
Visibility="{c:Binding 'CopilotTabIndex != 1'}">
|
||||
Orientation="Horizontal">
|
||||
<CheckBox Content="{DynamicResource UseCopilotList}" IsChecked="{Binding UseCopilotList}" />
|
||||
<controls:TooltipBlock TooltipText="{DynamicResource UseCopilotListTip}" />
|
||||
</StackPanel>
|
||||
|
||||
Reference in New Issue
Block a user