Skip to content

Commit 20479e4

Browse files
luke-jrinstagibbs
authored andcommitted
GUI: Receive: Replace "Copy URI" with "Copy address"
1 parent d4d45b6 commit 20479e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qt/receivecoinsdialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ReceiveCoinsDialog::ReceiveCoinsDialog(const PlatformStyle *_platformStyle, QWid
4444
}
4545

4646
// context menu actions
47-
QAction *copyURIAction = new QAction(tr("Copy URI"), this);
47+
QAction *copyURIAction = new QAction(tr("Copy address"), this);
4848
QAction *copyLabelAction = new QAction(tr("Copy label"), this);
4949
QAction *copyMessageAction = new QAction(tr("Copy message"), this);
5050
QAction *copyAmountAction = new QAction(tr("Copy amount"), this);
@@ -272,7 +272,7 @@ void ReceiveCoinsDialog::copyURI()
272272
}
273273

274274
const RecentRequestsTableModel * const submodel = model->getRecentRequestsTableModel();
275-
const QString uri = GUIUtil::formatBitcoinURI(submodel->entry(sel.row()).recipient);
275+
const QString uri = submodel->entry(sel.row()).recipient.address;
276276
GUIUtil::setClipboard(uri);
277277
}
278278

0 commit comments

Comments
 (0)