Skip to content

Commit

Permalink
Fix AOOB in xander's sodium options
Browse files Browse the repository at this point in the history
  • Loading branch information
isXander committed Dec 15, 2024
1 parent 6b442ca commit ed54455
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ protected void onTabChanged(ControllerEntity controller) {

screen.setFocused(optionListHolder);

if (optionList.children().isEmpty())
return;

for (OptionListWidget.Entry entry : optionList.children()) {
entry.setFocused(false);
entry.setFocused(null);
Expand Down

0 comments on commit ed54455

Please sign in to comment.