mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
fix: 基建计划选择计数增加后未刷新UI
This commit is contained in:
@@ -29,7 +29,6 @@ using MaaWpfGui.Services;
|
||||
using MaaWpfGui.States;
|
||||
using MaaWpfGui.Utilities;
|
||||
using MaaWpfGui.Utilities.ValueType;
|
||||
using MaaWpfGui.ViewModels.Items;
|
||||
using Microsoft.Win32;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
@@ -497,6 +496,10 @@ public class InfrastSettingsUserControlModel : TaskSettingsViewModel
|
||||
{
|
||||
infrast.PlanSelect = 0;
|
||||
}
|
||||
if (TaskSettingVisibilityInfo.CurrentTask == infrast)
|
||||
{
|
||||
Instance.NotifyOfPropertyChange(nameof(CustomInfrastPlanSelect));
|
||||
}
|
||||
OutputCurrentCustomPlanInfo(infrast);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user