diff --git a/LemonUI/Menus/NativeListItem{T}.cs b/LemonUI/Menus/NativeListItem{T}.cs index ee2a11d..7c5d3b7 100644 --- a/LemonUI/Menus/NativeListItem{T}.cs +++ b/LemonUI/Menus/NativeListItem{T}.cs @@ -73,7 +73,7 @@ public T SelectedItem { if (Items.Count == 0) { - throw new InvalidOperationException("There are no available items."); + return; } int newIndex = Items.IndexOf(value);