fix for more consistent ui

This commit is contained in:
infeo
2019-07-04 13:37:27 +02:00
parent 23da229d81
commit ffb6cc354b
2 changed files with 6 additions and 1 deletions

View File

@@ -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.
*/

View File

@@ -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"/>