From b7e8ddfdaedd337ce87b74e90f1e7ce92366df75 Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Mon, 19 Jan 2026 19:38:30 +0800 Subject: [PATCH] fix: rename --- src/MaaWpfGui/Helper/ConfigConverter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MaaWpfGui/Helper/ConfigConverter.cs b/src/MaaWpfGui/Helper/ConfigConverter.cs index bd2899e45a..597e24ba24 100644 --- a/src/MaaWpfGui/Helper/ConfigConverter.cs +++ b/src/MaaWpfGui/Helper/ConfigConverter.cs @@ -530,10 +530,10 @@ public class ConfigConverter } } - var list = ConfigurationHelper.GetConfigurationList(); + var oldConfigList = ConfigurationHelper.GetConfigurationList(); foreach (var name in ConfigFactory.ConfigList.ToList()) { - if (!list.Contains(name)) + if (!oldConfigList.Contains(name)) { ConfigFactory.DeleteConfiguration(name); }