more password field focus fixes

This commit is contained in:
Sebastian Stenzel
2017-11-24 22:01:31 +01:00
parent 424ea8429c
commit a428e62891

View File

@@ -169,7 +169,7 @@ public class MainController implements ViewController {
@Override
public void initialize() {
vaultList.setItems(vaults);
vaultList.setOnKeyPressed(this::didPressKeyOnList);
vaultList.setOnKeyReleased(this::didPressKeyOnList);
vaultList.setCellFactory(this::createDirecoryListCell);
activeController.set(viewControllerLoader.load("/fxml/welcome.fxml"));
selectedVault.bind(vaultList.getSelectionModel().selectedItemProperty());
@@ -447,6 +447,7 @@ public class MainController implements ViewController {
public void didInitialize() {
showUnlockView();
activeController.get().focus();
}
private void showUpgradeView() {