QString associatedLabel = model->getAddressTableModel()->labelForAddress(address.ToString().c_str());
if(!associatedLabel.isEmpty())
ui->label->setText(associatedLabel);
+ else
+ ui->label->setText(QString());
}
void MultisigAddressEntry::on_address_textChanged(const QString &address)
{
CPubKey vchPubKey;
model->getPubKey(keyID, vchPubKey);
- std::string pubkey = HexStr(vchPubKey.Raw());
+ std::string pubkey = HexStr(vchPubKey.begin(), vchPubKey.end());
if(!pubkey.empty())
ui->pubkey->setText(pubkey.c_str());
}
QString associatedLabel = model->getAddressTableModel()->labelForAddress(address);
if(!associatedLabel.isEmpty())
ui->label->setText(associatedLabel);
-}
\ No newline at end of file
+}