mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
add context menu item in transaction diagram to show input and output addresses as qrs
This commit is contained in:
parent
fad1dad76e
commit
25e1250710
2 changed files with 9 additions and 1 deletions
2
drongo
2
drongo
|
@ -1 +1 @@
|
|||
Subproject commit 8cdea77562643edf9d460a594178c1f44deeb248
|
||||
Subproject commit aa459d0084b3cc72c49c8922d571338c4f5efaf4
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue