diff --git a/drongo b/drongo index 8cdea775..aa459d00 160000 --- a/drongo +++ b/drongo @@ -1 +1 @@ -Subproject commit 8cdea77562643edf9d460a594178c1f44deeb248 +Subproject commit aa459d0084b3cc72c49c8922d571338c4f5efaf4 diff --git a/src/main/java/com/sparrowwallet/sparrow/control/TransactionDiagram.java b/src/main/java/com/sparrowwallet/sparrow/control/TransactionDiagram.java index 9c3077f1..5da2c63b 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/TransactionDiagram.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/TransactionDiagram.java @@ -1244,6 +1244,14 @@ public class TransactionDiagram extends GridPane { Clipboard.getSystemClipboard().setContent(content); }); getItems().add(copyAddress); + + MenuItem showAddress = new MenuItem("Show Address as QR"); + showAddress.setOnAction(event -> { + hide(); + QRDisplayDialog qrDisplayDialog = new QRDisplayDialog(address.toString()); + qrDisplayDialog.showAndWait(); + }); + getItems().add(showAddress); } MenuItem copySatsValue = new MenuItem("Copy Value in sats");