From ffb6cc354b06ba0b764eec946b310c2d3c7e646f Mon Sep 17 00:00:00 2001 From: infeo Date: Thu, 4 Jul 2019 13:37:27 +0200 Subject: [PATCH] fix for more consistent ui --- .../org/cryptomator/ui/controllers/UnlockController.java | 5 +++++ main/ui/src/main/resources/fxml/unlock.fxml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/main/ui/src/main/java/org/cryptomator/ui/controllers/UnlockController.java b/main/ui/src/main/java/org/cryptomator/ui/controllers/UnlockController.java index bce22d303..c6a1b7c56 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/controllers/UnlockController.java +++ b/main/ui/src/main/java/org/cryptomator/ui/controllers/UnlockController.java @@ -359,6 +359,11 @@ public class UnlockController implements ViewController { } } + @FXML + public void didClickCustomMountPointCheckbox() { + useCustomWinDriveLetter.setSelected(vault.getWinDriveLetter() != null); + } + /** * Converts 'C' to "C:" to translate between model and GUI. */ diff --git a/main/ui/src/main/resources/fxml/unlock.fxml b/main/ui/src/main/resources/fxml/unlock.fxml index 2c495a7a7..28108966f 100644 --- a/main/ui/src/main/resources/fxml/unlock.fxml +++ b/main/ui/src/main/resources/fxml/unlock.fxml @@ -76,7 +76,7 @@ - +