From 470c4e06a2f6d379eef355b94fb6bee059c6cb12 Mon Sep 17 00:00:00 2001 From: fsb4000 Date: Tue, 10 Feb 2015 07:28:44 +0600 Subject: [PATCH] =?utf8?q?=D0=BF=D0=BE=D1=87=D0=B8=D0=BD=D0=BA=D0=B0=20=D0=B1=D0=B0=D0=B3=D0=B0:=20=D0=BC=D0=B5=D1=82=D0=BA=D0=B0=20=D0=BF=D1=80=D0=B5=D0=B4=D1=8B=D0=B4=D1=83=D1=89=D0=B5=D0=B3=D0=BE=20=D0=B0=D0=B4=D1=80=D0=B5=D1=81=D0=B0=20=D1=81=D0=BE=D1=85=D1=80=D0=B0=D0=BD=D1=8F=D0=BB=D0=B0=D1=81=D1=8C=20=D0=B4=D0=BB=D1=8F=20=D0=B0=D0=B4=D1=80=D0=B5=D1=81=D0=B0=20=D0=B1=D0=B5=D0=B7=20=D0=BC=D0=B5=D1=82=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/qt/sendcoinsentry.cpp | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/qt/sendcoinsentry.cpp b/src/qt/sendcoinsentry.cpp index 0b5db26..7e960be 100644 --- a/src/qt/sendcoinsentry.cpp +++ b/src/qt/sendcoinsentry.cpp @@ -59,10 +59,8 @@ void SendCoinsEntry::on_payTo_textChanged(const QString &address) { if(!model) return; - // Fill in label from address book, if address has an associated label - QString associatedLabel = model->getAddressTableModel()->labelForAddress(address); - if(!associatedLabel.isEmpty()) - ui->addAsLabel->setText(associatedLabel); + // Fill in label from address book + ui->addAsLabel->setText(model->getAddressTableModel()->labelForAddress(address)); } void SendCoinsEntry::setModel(WalletModel *model) -- 1.7.1