debug
This commit is contained in:
parent
6dbbde9d80
commit
f59bf26d54
|
@ -243,16 +243,16 @@ public class SettingsTab extends Tab implements TabSelectionListener {
|
|||
private void refreshChaturbateTabs() {
|
||||
getTabPane().getTabs().forEach(tab -> {
|
||||
if (tab.getContent() instanceof ThumbOverviewTab overviewTab) {
|
||||
if (overviewTab.getUpdateService() instanceof ChaturbateTabProvider updateService) {
|
||||
// Fetch the latest setting dynamically and rebuild the URL
|
||||
boolean filterNA = settings.filterNAcamsOnly;
|
||||
updateService.setUrl(updateService.buildUrl(updateService.getEndpoint(), filterNA));
|
||||
updateService.restart(); // Refresh tab content
|
||||
if (overviewTab.updateService != null) {
|
||||
overviewTab.updateService.cancel(); // Stop current update
|
||||
overviewTab.updateService.reset(); // Reset service
|
||||
overviewTab.updateService.restart(); // Restart service with new settings
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
private void createGui() {
|
||||
var postProcessingStepPanel = new PostProcessingStepPanel(config);
|
||||
var variablesHelpButton = createHelpButton("Variables", "http://localhost:5689/docs/PostProcessing.md#variables");
|
||||
|
|
Loading…
Reference in New Issue