Compare commits
2 Commits
ec4e5e9ba2
...
809325ebac
Author | SHA1 | Date |
---|---|---|
|
809325ebac | |
|
e58f491887 |
|
@ -35,6 +35,7 @@ import javafx.scene.control.TextInputDialog;
|
||||||
import javafx.scene.layout.*;
|
import javafx.scene.layout.*;
|
||||||
import javafx.scene.paint.Color;
|
import javafx.scene.paint.Color;
|
||||||
import javafx.util.Duration;
|
import javafx.util.Duration;
|
||||||
|
import javafx.scene.Parent;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
@ -242,20 +243,18 @@ public class SettingsTab extends Tab implements TabSelectionListener {
|
||||||
|
|
||||||
private void refreshChaturbateTabs() {
|
private void refreshChaturbateTabs() {
|
||||||
getTabPane().getTabs().forEach(tab -> {
|
getTabPane().getTabs().forEach(tab -> {
|
||||||
if (tab.getContent() instanceof Parent parent) { // Ensure it's a Parent
|
Node content = tab.getContent();
|
||||||
for (Node node : parent.getChildrenUnmodifiable()) {
|
if (content instanceof ThumbOverviewTab overviewTab) {
|
||||||
if (node instanceof ThumbOverviewTab overviewTab) {
|
if (overviewTab.getUpdateService() != null) {
|
||||||
if (overviewTab.getUpdateService() != null) {
|
overviewTab.getUpdateService().reset();
|
||||||
overviewTab.getUpdateService().reset();
|
overviewTab.getUpdateService().restart();
|
||||||
overviewTab.getUpdateService().restart();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void createGui() {
|
private void createGui() {
|
||||||
var postProcessingStepPanel = new PostProcessingStepPanel(config);
|
var postProcessingStepPanel = new PostProcessingStepPanel(config);
|
||||||
var variablesHelpButton = createHelpButton("Variables", "http://localhost:5689/docs/PostProcessing.md#variables");
|
var variablesHelpButton = createHelpButton("Variables", "http://localhost:5689/docs/PostProcessing.md#variables");
|
||||||
|
|
Loading…
Reference in New Issue