mirror of
https://github.com/cryptomator/cryptomator.git
synced 2024-11-23 03:59:51 +00:00
Revert "Reset webdavport field if changes are not applied and focus lost"
This reverts commit c6e9e33feb
.
This commit is contained in:
parent
32d6661a72
commit
f50eb1f047
@ -48,11 +48,6 @@ public class VolumePreferencesController implements FxController {
|
||||
webDavPortField.setText(String.valueOf(settings.port().get()));
|
||||
changeWebDavPortButton.visibleProperty().bind(settings.port().asString().isNotEqualTo(webDavPortField.textProperty()));
|
||||
changeWebDavPortButton.disableProperty().bind(Bindings.createBooleanBinding(this::validateWebDavPort, webDavPortField.textProperty()).not());
|
||||
webDavPortField.focusedProperty().addListener((observableValue, wasFocused, isFocused) -> {
|
||||
if(!isFocused) {
|
||||
webDavPortField.setText(String.valueOf(settings.port().get()));
|
||||
}
|
||||
});
|
||||
|
||||
webDavUrlSchemeChoiceBox.getItems().addAll(WebDavUrlScheme.values());
|
||||
webDavUrlSchemeChoiceBox.valueProperty().bindBidirectional(settings.preferredGvfsScheme());
|
||||
|
Loading…
Reference in New Issue
Block a user