fix refresh queries nre

This commit is contained in:
pointfeev 2023-09-15 18:59:35 -04:00
parent 5e6be10d2e
commit dbd0f81124

View file

@ -59,7 +59,7 @@ internal sealed class Selection : IEquatable<Selection>
internal bool Enabled { get => TreeNode.Checked; set => TreeNode.Checked = value; }
internal IEnumerable<SelectionDLC> DLC => SelectionDLC.All.Keys.Where(dlc => dlc.Selection.Equals(this));
internal IEnumerable<SelectionDLC> DLC => SelectionDLC.All.Keys.Where(dlc => Equals(dlc.Selection, this));
public bool Equals(Selection other) => other is not null && (ReferenceEquals(this, other) || Id == other.Id && Platform == other.Platform);