Skip to content

Commit 95d024c

Browse files
committed
Fix: #3145
1 parent 86f0c23 commit 95d024c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/NETworkManager/ViewModels/ProfilesViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ private void CopyAsProfileAction()
199199
private void DeleteProfileAction()
200200
{
201201
ProfileDialogManager
202-
.ShowDeleteProfileDialog(Application.Current.MainWindow, this, new List<ProfileInfo> { SelectedProfile })
202+
.ShowDeleteProfileDialog(Application.Current.MainWindow, this, [.. SelectedProfiles.Cast<ProfileInfo>()])
203203
.ConfigureAwait(false);
204204
}
205205

0 commit comments

Comments
 (0)