Remove unnecessary TriggerChange call

This commit is contained in:
Dean Herbert 2023-02-21 13:50:19 +09:00
parent 6799492596
commit 0d229d959b

View File

@ -269,9 +269,7 @@ namespace osu.Game.Overlays.SkinEditor
selectedTarget.Default = getFirstTarget()?.Lookup;
if (!availableTargets.Any(t => t.Lookup.Equals(selectedTarget.Value)))
selectedTarget.Value = getFirstTarget()?.Lookup;
else
selectedTarget.TriggerChange();
selectedTarget.SetDefault();
}
}