mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-13 18:27:25 -04:00
ContextMenu: implement 'paste' context menu for all text fields
This commit is contained in:
@@ -325,8 +325,8 @@ Rectangle {
|
||||
wrapMode: Text.WrapAnywhere
|
||||
addressValidation: true
|
||||
pasteButton: true
|
||||
onPaste: function(clipboardText) {
|
||||
const parsed = walletManager.parse_uri_to_object(clipboardText);
|
||||
onTextChanged: {
|
||||
const parsed = walletManager.parse_uri_to_object(addressLine.text);
|
||||
if (!parsed.error) {
|
||||
addressLine.text = parsed.address;
|
||||
descriptionLine.text = parsed.tx_description;
|
||||
|
||||
Reference in New Issue
Block a user