Browse Source

Update MainWindowViewModel.cs

pull/4049/head
2dust 1 year ago
parent
commit
d5b17b3cfb
  1. 2
      v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs

2
v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs

@ -1529,7 +1529,7 @@ namespace v2rayN.ViewModels
private void ChangeSystemProxyStatus(ESysProxyType type, bool blChange) private void ChangeSystemProxyStatus(ESysProxyType type, bool blChange)
{ {
SysProxyHandle.UpdateSysProxy(_config, _config.tunModeItem.enableTun ? true : false); SysProxyHandle.UpdateSysProxy(_config, _config.tunModeItem.enableTun ? true : false);
_noticeHandler?.SendMessage(ResUI.TipChangeSystemProxy, true); _noticeHandler?.SendMessage(ResUI.TipChangeSystemProxy + _config.sysProxyType.ToString(), true);
Application.Current.Dispatcher.Invoke((Action)(() => Application.Current.Dispatcher.Invoke((Action)(() =>
{ {

Loading…
Cancel
Save