This commit is contained in:
parent
674a84dcb0
commit
819c80ca30
|
@ -242,8 +242,8 @@ public class SettingsTab extends Tab implements TabSelectionListener {
|
|||
|
||||
private void refreshChaturbateTabs() {
|
||||
getTabPane().getTabs().forEach(tab -> {
|
||||
if (tab.getContent() instanceof ThumbOverviewTab) {
|
||||
ThumbOverviewTab overviewTab = (ThumbOverviewTab) tab.getContent();
|
||||
Node content = tab.getContent();
|
||||
if (content instanceof ThumbOverviewTab overviewTab) {
|
||||
if (overviewTab.getUpdateService() != null) {
|
||||
overviewTab.getUpdateService().reset();
|
||||
overviewTab.getUpdateService().restart();
|
||||
|
|
Loading…
Reference in New Issue