mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 08:33:55 +09:00
Fix playlist selecting random item when not allowed after deleting
This commit is contained in:
@ -24,6 +24,7 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
|
|||||||
|
|
||||||
Items.Remove(item);
|
Items.Remove(item);
|
||||||
|
|
||||||
|
if (AllowSelection && SelectedItem.Value == item)
|
||||||
SelectedItem.Value = nextItem ?? Items.LastOrDefault();
|
SelectedItem.Value = nextItem ?? Items.LastOrDefault();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user