@@ -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.
*/
@@ -76,7 +76,7 @@
<CheckBox fx:id="useReadOnlyMode" text="%unlock.label.useReadOnlyMode"/>
<!-- Custom Mount Point -->
- <CheckBox fx:id="useCustomMountPoint" text="%unlock.label.useOwnMountPath"/>
+ <CheckBox fx:id="useCustomMountPoint" text="%unlock.label.useOwnMountPath" onAction="#didClickCustomMountPointCheckbox"/>
<HBox fx:id="customMountPoint" spacing="6" alignment="BASELINE_LEFT" >
<padding>
<Insets left="20.0"/>