display error on sendpin correctly

This commit is contained in:
Craig Raw 2021-03-11 11:13:30 +02:00
parent 1bab07fc5f
commit 836bd6bc40

View file

@ -376,7 +376,7 @@ public class DevicePane extends TitledDescriptionPane {
}
});
sendPinService.setOnFailed(workerStateEvent -> {
setError(sendPinService.getException().getMessage(), null);
setError("Error", sendPinService.getException().getMessage());
enterPinButton.setDisable(false);
});
setDescription("Unlocking...");