GUI: Receive: Replace "Copy URI" with "Copy address"

This commit is contained in:
Luke Dashjr 2019-01-08 16:21:53 +00:00 committed by Gregory Sanders
parent d4d45b6f0a
commit 20479e4ad4

View file

@ -44,7 +44,7 @@ ReceiveCoinsDialog::ReceiveCoinsDialog(const PlatformStyle *_platformStyle, QWid
}
// context menu actions
QAction *copyURIAction = new QAction(tr("Copy URI"), this);
QAction *copyURIAction = new QAction(tr("Copy address"), this);
QAction *copyLabelAction = new QAction(tr("Copy label"), this);
QAction *copyMessageAction = new QAction(tr("Copy message"), this);
QAction *copyAmountAction = new QAction(tr("Copy amount"), this);
@ -272,7 +272,7 @@ void ReceiveCoinsDialog::copyURI()
}
const RecentRequestsTableModel * const submodel = model->getRecentRequestsTableModel();
const QString uri = GUIUtil::formatBitcoinURI(submodel->entry(sel.row()).recipient);
const QString uri = submodel->entry(sel.row()).recipient.address;
GUIUtil::setClipboard(uri);
}