Compare commits
No commits in common. "674a84dcb06090a7edc88745a1aa99879f188ec2" and "f59bf26d54b15e27fb92d1c5fb42e004e04bd288" have entirely different histories.
674a84dcb0
...
f59bf26d54
|
@ -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
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue