fixing a general setting not showing up on Mac OS

This commit is contained in:
infeo
2018-02-03 17:42:48 +01:00
parent d170e87c1b
commit e3b9601721

View File

@@ -138,8 +138,8 @@ public class SettingsController implements ViewController {
fuseNioAdapter.managedProperty().bind(fuseNioAdapter.visibleProperty());
defaultMountDirLabel.managedProperty().bind(fuseNioAdapter.visibleProperty());
defaultMountDir.managedProperty().bind(fuseNioAdapter.visibleProperty());
defaultMountDirLabel.setVisible(SystemUtils.IS_OS_LINUX);
defaultMountDir.setVisible(SystemUtils.IS_OS_LINUX);
defaultMountDirLabel.setVisible(!SystemUtils.IS_OS_WINDOWS);
defaultMountDir.setVisible(!SystemUtils.IS_OS_WINDOWS);
defaultMountDir.setText(String.valueOf(settings.defaultMountDir().get()));
changeDefaultMountDirButton.setVisible(false);
changeDefaultMountDirButton.visibleProperty().bind(