diff --git a/client/src/main/java/ctbrec/ui/settings/SettingsTab.java b/client/src/main/java/ctbrec/ui/settings/SettingsTab.java index 715fbd2d..1ac57835 100644 --- a/client/src/main/java/ctbrec/ui/settings/SettingsTab.java +++ b/client/src/main/java/ctbrec/ui/settings/SettingsTab.java @@ -40,7 +40,6 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import java.util.Objects; import static ctbrec.Settings.DirectoryStructure.*; import static ctbrec.Settings.ProxyType.*; @@ -344,16 +343,6 @@ public class SettingsTab extends Tab implements TabSelectionListener { prefs.getSetting("downloadFilename").ifPresent(s -> bindEnabledProperty(s, recordLocal)); prefs.getSetting("hlsdlExecutable").ifPresent(s -> bindEnabledProperty(s, useHlsdl.not())); prefs.getSetting("loghlsdlOutput").ifPresent(s -> bindEnabledProperty(s, useHlsdl.not())); - startMinimized.addListener((obs, oldV, newV) -> { - if (Objects.equals(newV, Boolean.TRUE)) { - minimizeToTray.set(true); - } - }); - minimizeToTray.addListener((obs, oldV, newV) -> { - if (Objects.equals(newV, Boolean.FALSE)) { - startMinimized.set(false); - } - }); postProcessingStepPanel.disableProperty().bind(recordLocal.not()); variablesHelpButton.disableProperty().bind(recordLocal); }