From 2e847199f5714c60a25adbff70036eee90101343 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 14 Mar 2024 08:49:52 +0200 Subject: [PATCH] fix message signing by qr with no action on scan qr --- .../com/sparrowwallet/sparrow/control/MessageSignDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/control/MessageSignDialog.java b/src/main/java/com/sparrowwallet/sparrow/control/MessageSignDialog.java index f0f59a1a..886703e3 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/MessageSignDialog.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/MessageSignDialog.java @@ -472,7 +472,7 @@ public class MessageSignDialog extends Dialog { QRDisplayDialog qrDisplayDialog = new QRDisplayDialog(qrText, true); qrDisplayDialog.initOwner(getDialogPane().getScene().getWindow()); Optional optButtonType = qrDisplayDialog.showAndWait(); - if(optButtonType.isPresent() && optButtonType.get().getButtonData() == ButtonBar.ButtonData.NEXT_FORWARD) { + if(optButtonType.isPresent() && optButtonType.get().getButtonData() == ButtonBar.ButtonData.OK_DONE) { scanQr(); } }