Skip to content

Commit

Permalink
Fix IndexOutOfBoundsException in tab setup (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
Starlight220 committed Mar 12, 2023
1 parent f1a2d2f commit 8e16844
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class DashboardTabPane extends TabPane {
for (TabModel model : tabs.getTabs().values()) {
var tab = realTabs.computeIfAbsent(model, m -> new ProcedurallyDefinedTab(m, PropertyParsers.getDefault()));
if (!getTabs().contains(tab)) {
getTabs().add(getTabs().size() - 1, tab);
getTabs().add(tab);
}
tab.populate();
}
Expand Down

0 comments on commit 8e16844

Please sign in to comment.