mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
fix: 修复自动战斗-战斗列表拖拽导致崩溃 (#6555)
This commit is contained in:
@@ -93,5 +93,6 @@ void asst::SanityBeforeStagePlugin::get_sanity_before_stage()
|
||||
sanity_info["details"]["max_sanity"] = sanity_max;
|
||||
sanity_info["details"]["report_time"] = utils::get_format_time();
|
||||
} while (false);
|
||||
// 如果识别失败,返回空json。缓存数据需要作废
|
||||
callback(AsstMsg::SubTaskExtraInfo, sanity_info);
|
||||
}
|
||||
|
||||
@@ -695,7 +695,9 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
/// <summary>
|
||||
/// 更新任务顺序
|
||||
/// </summary>
|
||||
private void CopilotItemIndexChanged()
|
||||
// UI 绑定的方法
|
||||
// ReSharper disable once MemberCanBePrivate.Global
|
||||
public void CopilotItemIndexChanged()
|
||||
{
|
||||
Application.Current.Dispatcher.InvokeAsync(() =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user