mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
chore: 修改自动检测连接后重置连接状态
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user