mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-19 19:21:27 +00:00
Fixed Trim and Bidirectional Bind
This commit is contained in:
@@ -45,7 +45,7 @@ public class CreateNewVaultNameController implements FxController {
|
||||
|
||||
@FXML
|
||||
public void initialize() {
|
||||
vaultName.bind(textField.textProperty());
|
||||
vaultName.bindBidirectional(textField.textProperty());
|
||||
vaultName.addListener(this::vaultNameChanged);
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ public class CreateNewVaultNameController implements FxController {
|
||||
@FXML
|
||||
public void next() {
|
||||
window.setScene(chooseLocationScene.get());
|
||||
vaultName.get().trim();
|
||||
vaultName.set(vaultName.get().trim());
|
||||
}
|
||||
|
||||
/* Getter/Setter */
|
||||
|
||||
Reference in New Issue
Block a user