This commit is contained in:
parent
674a84dcb0
commit
819c80ca30
|
@ -242,8 +242,8 @@ 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) {
|
Node content = tab.getContent();
|
||||||
ThumbOverviewTab overviewTab = (ThumbOverviewTab) tab.getContent();
|
if (content instanceof ThumbOverviewTab overviewTab) {
|
||||||
if (overviewTab.getUpdateService() != null) {
|
if (overviewTab.getUpdateService() != null) {
|
||||||
overviewTab.getUpdateService().reset();
|
overviewTab.getUpdateService().reset();
|
||||||
overviewTab.getUpdateService().restart();
|
overviewTab.getUpdateService().restart();
|
||||||
|
|
Loading…
Reference in New Issue