mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 10:00:44 +08:00
rft: Wpf基建任务序列化调整 (#12053)
* rft: Wpf基建任务序列化 * rft: 迁移遗漏的CustomInfrastEnabled
This commit is contained in:
@@ -201,8 +201,6 @@ public class InfrastSettingsUserControlModel : TaskViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public static TaskQueueViewModel CustomInfrastPlanDataContext { get => Instances.TaskQueueViewModel; }
|
||||
|
||||
private string _usesOfDrones = ConfigurationHelper.GetValue(ConfigurationKeys.UsesOfDrones, "Money");
|
||||
|
||||
/// <summary>
|
||||
@@ -329,7 +327,7 @@ public class InfrastSettingsUserControlModel : TaskViewModel
|
||||
{
|
||||
SetAndNotify(ref _customInfrastEnabled, value);
|
||||
ConfigurationHelper.SetValue(ConfigurationKeys.CustomInfrastEnabled, value.ToString());
|
||||
Instances.TaskQueueViewModel.CustomInfrastEnabled = value;
|
||||
Instances.TaskQueueViewModel.RefreshCustomInfrastPlan();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user