Compare commits
No commits in common. "809325ebac57b24471cf94098c7a58d5bef656ac" and "ec4e5e9ba21d36850a65cd0d0da4f1352e963914" have entirely different histories.
809325ebac
...
ec4e5e9ba2
|
@ -35,7 +35,6 @@ 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;
|
||||||
|
@ -243,18 +242,20 @@ public class SettingsTab extends Tab implements TabSelectionListener {
|
||||||
|
|
||||||
private void refreshChaturbateTabs() {
|
private void refreshChaturbateTabs() {
|
||||||
getTabPane().getTabs().forEach(tab -> {
|
getTabPane().getTabs().forEach(tab -> {
|
||||||
Node content = tab.getContent();
|
if (tab.getContent() instanceof Parent parent) { // Ensure it's a Parent
|
||||||
if (content instanceof ThumbOverviewTab overviewTab) {
|
for (Node node : parent.getChildrenUnmodifiable()) {
|
||||||
if (overviewTab.getUpdateService() != null) {
|
if (node instanceof ThumbOverviewTab overviewTab) {
|
||||||
overviewTab.getUpdateService().reset();
|
if (overviewTab.getUpdateService() != null) {
|
||||||
overviewTab.getUpdateService().restart();
|
overviewTab.getUpdateService().reset();
|
||||||
|
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