mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:17:26 +08:00
Fix possible null
This commit is contained in:
parent
023892738a
commit
bc9177983a
@ -108,10 +108,11 @@ namespace osu.Game.Overlays.Profile.Sections
|
||||
VisiblePages = 0;
|
||||
ItemsContainer.Clear();
|
||||
|
||||
count.Value = GetCount(e.NewValue);
|
||||
|
||||
if (e.NewValue != null)
|
||||
{
|
||||
showMore();
|
||||
count.Value = GetCount(e.NewValue);
|
||||
}
|
||||
}
|
||||
|
||||
private void showMore()
|
||||
|
Loading…
Reference in New Issue
Block a user