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 @@ - +