Improve the code

This commit is contained in:
2dust
2024-11-11 16:56:08 +08:00
parent 61e9101851
commit a1c8bc0e61
6 changed files with 41 additions and 43 deletions

View File

@@ -43,11 +43,11 @@ namespace v2rayN.Desktop.Views
{
rulesItem.Protocol?.ForEach(it =>
{
clbProtocol.SelectedItems.Add(it);
clbProtocol?.SelectedItems?.Add(it);
});
rulesItem.InboundTag?.ForEach(it =>
{
clbInboundTag.SelectedItems.Add(it);
clbInboundTag?.SelectedItems?.Add(it);
});
}