rft: Wpf基建任务参数更新迁移

This commit is contained in:
status102
2025-04-08 19:28:03 +08:00
parent 563c9507d5
commit 419b3ae82d
3 changed files with 23 additions and 17 deletions

View File

@@ -23,6 +23,7 @@ using MaaWpfGui.Models;
using MaaWpfGui.Models.AsstTasks;
using MaaWpfGui.Services;
using MaaWpfGui.Utilities.ValueType;
using MaaWpfGui.ViewModels.UI;
using Microsoft.Win32;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
@@ -440,7 +441,7 @@ public class InfrastSettingsUserControlModel : TaskViewModel
}
SetAndNotify(ref _customInfrastPlanIndex, value);
Instances.TaskQueueViewModel.SetInfrastParams();
TaskQueueViewModel.SetInfrastParams();
ConfigurationHelper.SetValue(ConfigurationKeys.CustomInfrastPlanIndex, value.ToString());
}
}