mirror of
https://github.com/ppy/osu
synced 2024-12-17 04:15:37 +00:00
Remove unnecessary TriggerChange
call
This commit is contained in:
parent
6799492596
commit
0d229d959b
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user