diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-08 22:27:36 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-08 22:27:36 +0200 |
commit | 51d7cc07f10209ac12bd5286391e3c8b095abd34 (patch) | |
tree | b874383fb3c423b3dbd06cbb6f51b0c9c329c8f5 /src/qt/sendcoinsdialog.cpp | |
parent | 35105534e702d1a6db4fcac994869ab05266285b (diff) |
Add context menu on transaction list: copy label, copy address, edit label, show details
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
-rw-r--r-- | src/qt/sendcoinsdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 9b7cc632e0..4adda7e8fd 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -1,6 +1,7 @@ #include "sendcoinsdialog.h" #include "ui_sendcoinsdialog.h" #include "walletmodel.h" +#include "addresstablemodel.h" #include "guiutil.h" #include "addressbookpage.h" @@ -131,7 +132,7 @@ void SendCoinsDialog::on_buttonBox_rejected() void SendCoinsDialog::on_payTo_textChanged(const QString &address) { - ui->addAsLabel->setText(model->labelForAddress(address)); + ui->addAsLabel->setText(model->getAddressTableModel()->labelForAddress(address)); } void SendCoinsDialog::clear() |