mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-23 13:04:17 +00:00
fix "send to" address book
This commit is contained in:
parent
64bca50d54
commit
b9e41844c0
@ -23,6 +23,7 @@ AddressBookDialog::~AddressBookDialog()
|
|||||||
|
|
||||||
void AddressBookDialog::setModel(AddressTableModel *model)
|
void AddressBookDialog::setModel(AddressTableModel *model)
|
||||||
{
|
{
|
||||||
|
this->model = model;
|
||||||
/* Refresh list from core */
|
/* Refresh list from core */
|
||||||
model->updateList();
|
model->updateList();
|
||||||
|
|
||||||
|
@ -101,6 +101,8 @@ void SendCoinsDialog::on_pasteButton_clicked()
|
|||||||
void SendCoinsDialog::on_addressBookButton_clicked()
|
void SendCoinsDialog::on_addressBookButton_clicked()
|
||||||
{
|
{
|
||||||
AddressBookDialog dlg;
|
AddressBookDialog dlg;
|
||||||
|
dlg.setModel(model->getAddressTableModel());
|
||||||
|
dlg.setTab(AddressBookDialog::SendingTab);
|
||||||
dlg.exec();
|
dlg.exec();
|
||||||
ui->payTo->setText(dlg.getReturnValue());
|
ui->payTo->setText(dlg.getReturnValue());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user