Skip to content

Commit

Permalink
GUI: Receive: Replace "Copy URI" with "Copy address"
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr authored and instagibbs committed Apr 9, 2019
1 parent d4d45b6 commit 20479e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/receivecoinsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 20479e4

Please sign in to comment.