debug
This commit is contained in:
parent
6dbbde9d80
commit
f59bf26d54
|
@ -243,16 +243,16 @@ 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 ThumbOverviewTab overviewTab) {
|
if (tab.getContent() instanceof ThumbOverviewTab overviewTab) {
|
||||||
if (overviewTab.getUpdateService() instanceof ChaturbateTabProvider updateService) {
|
if (overviewTab.updateService != null) {
|
||||||
// Fetch the latest setting dynamically and rebuild the URL
|
overviewTab.updateService.cancel(); // Stop current update
|
||||||
boolean filterNA = settings.filterNAcamsOnly;
|
overviewTab.updateService.reset(); // Reset service
|
||||||
updateService.setUrl(updateService.buildUrl(updateService.getEndpoint(), filterNA));
|
overviewTab.updateService.restart(); // Restart service with new settings
|
||||||
updateService.restart(); // Refresh tab content
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
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