chore: 修改自动检测连接后重置连接状态

This commit is contained in:
uye
2024-08-10 01:26:55 +08:00
parent e585b91339
commit 444bb7909e

View File

@@ -3718,6 +3718,8 @@ namespace MaaWpfGui.ViewModels.UI
get => _autoDetectConnection;
set
{
Instances.AsstProxy.Connected = false;
SetAndNotify(ref _autoDetectConnection, value);
ConfigurationHelper.SetValue(ConfigurationKeys.AutoDetect, value.ToString());
}