This commit is contained in:
parent
e58f491887
commit
809325ebac
|
@ -243,20 +243,18 @@ public class SettingsTab extends Tab implements TabSelectionListener {
|
|||
|
||||
private void refreshChaturbateTabs() {
|
||||
getTabPane().getTabs().forEach(tab -> {
|
||||
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();
|
||||
}
|
||||
}
|
||||
Node content = tab.getContent();
|
||||
if (content instanceof ThumbOverviewTab overviewTab) {
|
||||
if (overviewTab.getUpdateService() != null) {
|
||||
overviewTab.getUpdateService().reset();
|
||||
overviewTab.getUpdateService().restart();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void createGui() {
|
||||
var postProcessingStepPanel = new PostProcessingStepPanel(config);
|
||||
var variablesHelpButton = createHelpButton("Variables", "http://localhost:5689/docs/PostProcessing.md#variables");
|
||||
|
|
Loading…
Reference in New Issue