mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 13:16:44 +00:00
fix message signing by qr with no action on scan qr
This commit is contained in:
parent
d1ac5b076e
commit
2e847199f5
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ public class MessageSignDialog extends Dialog<ButtonBar.ButtonData> {
|
||||||
QRDisplayDialog qrDisplayDialog = new QRDisplayDialog(qrText, true);
|
QRDisplayDialog qrDisplayDialog = new QRDisplayDialog(qrText, true);
|
||||||
qrDisplayDialog.initOwner(getDialogPane().getScene().getWindow());
|
qrDisplayDialog.initOwner(getDialogPane().getScene().getWindow());
|
||||||
Optional<ButtonType> optButtonType = qrDisplayDialog.showAndWait();
|
Optional<ButtonType> optButtonType = qrDisplayDialog.showAndWait();
|
||||||
if(optButtonType.isPresent() && optButtonType.get().getButtonData() == ButtonBar.ButtonData.NEXT_FORWARD) {
|
if(optButtonType.isPresent() && optButtonType.get().getButtonData() == ButtonBar.ButtonData.OK_DONE) {
|
||||||
scanQr();
|
scanQr();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue