diff --git a/client/src/main/java/ctbrec/ui/settings/SettingsTab.java b/client/src/main/java/ctbrec/ui/settings/SettingsTab.java index 1c96bbf3..3aacdbb0 100644 --- a/client/src/main/java/ctbrec/ui/settings/SettingsTab.java +++ b/client/src/main/java/ctbrec/ui/settings/SettingsTab.java @@ -242,11 +242,14 @@ public class SettingsTab extends Tab implements TabSelectionListener { private void refreshChaturbateTabs() { getTabPane().getTabs().forEach(tab -> { - Node content = tab.getContent(); - if (content instanceof ThumbOverviewTab overviewTab) { - if (overviewTab.getUpdateService() != null) { - overviewTab.getUpdateService().reset(); - overviewTab.getUpdateService().restart(); + if (tab.getContent() instanceof Parent parent) { // Ensure it's a Parent + for (Node node : parent.getChildrenUnmodifiable()) { + if (node instanceof ThumbOverviewTab overviewTab) { + if (overviewTab.getUpdateService() != null) { + overviewTab.getUpdateService().reset(); + overviewTab.getUpdateService().restart(); + } + } } } });