Update ProfilesViewModel.cs
This commit is contained in:
@@ -327,7 +327,7 @@ namespace ClashN.ViewModels
|
|||||||
|
|
||||||
if (ConfigProc.SetDefaultProfile(ref _config, item) == 0)
|
if (ConfigProc.SetDefaultProfile(ref _config, item) == 0)
|
||||||
{
|
{
|
||||||
_noticeHandler?.Enqueue(ResUI.OperationSuccess);
|
_noticeHandler?.SendMessage(ResUI.OperationSuccess);
|
||||||
RefreshProfiles();
|
RefreshProfiles();
|
||||||
|
|
||||||
Locator.Current.GetService<MainWindowViewModel>()?.LoadCore();
|
Locator.Current.GetService<MainWindowViewModel>()?.LoadCore();
|
||||||
|
|||||||
Reference in New Issue
Block a user