Skip to content

Commit 843f9ed

Browse files
authored
Remove duplicate call to OnProfileManagerDialogClose
1 parent 7382c7d commit 843f9ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/NETworkManager/ProfileDialogManager.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,13 +659,13 @@ public static async Task ShowDeleteGroupDialog(Window parentWindow, IProfileMana
659659
ChildWindowIcon.Info,
660660
Strings.Delete);
661661

662+
viewModel.OnProfileManagerDialogClose();
663+
662664
if (!result)
663665
return;
664666

665-
viewModel.OnProfileManagerDialogClose();
666-
667667
ProfileManager.RemoveGroup(group);
668668
}
669669

670670
#endregion
671-
}
671+
}

0 commit comments

Comments
 (0)