fix "send to" address book
This commit is contained in:
parent
64bca50d54
commit
b9e41844c0
2 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,7 @@ AddressBookDialog::~AddressBookDialog()
|
|||
|
||||
void AddressBookDialog::setModel(AddressTableModel *model)
|
||||
{
|
||||
this->model = model;
|
||||
/* Refresh list from core */
|
||||
model->updateList();
|
||||
|
||||
|
|
|
@ -101,6 +101,8 @@ void SendCoinsDialog::on_pasteButton_clicked()
|
|||
void SendCoinsDialog::on_addressBookButton_clicked()
|
||||
{
|
||||
AddressBookDialog dlg;
|
||||
dlg.setModel(model->getAddressTableModel());
|
||||
dlg.setTab(AddressBookDialog::SendingTab);
|
||||
dlg.exec();
|
||||
ui->payTo->setText(dlg.getReturnValue());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue