Compare commits

..

No commits in common. "674a84dcb06090a7edc88745a1aa99879f188ec2" and "f59bf26d54b15e27fb92d1c5fb42e004e04bd288" have entirely different histories.

2 changed files with 5 additions and 8 deletions

View File

@ -242,11 +242,11 @@ public class SettingsTab extends Tab implements TabSelectionListener {
private void refreshChaturbateTabs() {
getTabPane().getTabs().forEach(tab -> {
if (tab.getContent() instanceof ThumbOverviewTab) {
ThumbOverviewTab overviewTab = (ThumbOverviewTab) tab.getContent();
if (overviewTab.getUpdateService() != null) {
overviewTab.getUpdateService().reset();
overviewTab.getUpdateService().restart();
if (tab.getContent() instanceof ThumbOverviewTab overviewTab) {
if (overviewTab.updateService != null) {
overviewTab.updateService.cancel(); // Stop current update
overviewTab.updateService.reset(); // Reset service
overviewTab.updateService.restart(); // Restart service with new settings
}
}
});

View File

@ -773,9 +773,6 @@ public class ThumbOverviewTab extends Tab implements TabSelectionListener {
popoverTreeList.setRecorder(recorder);
}
public PaginatedScheduledService getUpdateService() {
return updateService;
}
@Override
public void selected() {
grid.getChildren().removeAll(noResultsFound, errorLabel);