Fix export rule order issue

https://github.com/2dust/v2rayN/issues/6377
This commit is contained in:
2dust
2024-12-31 14:15:09 +08:00
parent ff642fd1ac
commit 37cba5ee34
6 changed files with 17 additions and 37 deletions
@@ -82,12 +82,7 @@ namespace v2rayN.Desktop.Views
private void LstSubscription_SelectionChanged(object? sender, SelectionChangedEventArgs e)
{
List<SubItem> lst = [];
foreach (var item in lstSubscription.SelectedItems)
{
lst.Add((SubItem)item);
}
ViewModel.SelectedSources = lst;
ViewModel.SelectedSources = lstSubscription.SelectedItems.Cast<SubItem>().ToList();
}
private void menuClose_Click(object? sender, RoutedEventArgs e)