Browse Source

Only fill in label from address book, if no label is filled in yet, fixes #840

0.8
Wladimir J. van der Laan 13 years ago
parent
commit
f9f75f320e
  1. 5
      src/qt/sendcoinsentry.cpp

5
src/qt/sendcoinsentry.cpp

@ -59,8 +59,9 @@ void SendCoinsEntry::on_payTo_textChanged(const QString &address) @@ -59,8 +59,9 @@ void SendCoinsEntry::on_payTo_textChanged(const QString &address)
{
if(!model)
return;
ui->addAsLabel->setText(model->getAddressTableModel()->labelForAddress(address));
}
// Fill in label from address book, if no label is filled in yet
if(ui->addAsLabel->text().isEmpty())
ui->addAsLabel->setText(model->getAddressTableModel()->labelForAddress(address));}
void SendCoinsEntry::setModel(WalletModel *model)
{

Loading…
Cancel
Save