Browse Source

make sure address book model is up to date after sending coins

miguelfreitas
Wladimir J. van der Laan 14 years ago
parent
commit
f0ec774d9c
  1. 1
      src/qt/walletmodel.cpp

1
src/qt/walletmodel.cpp

@ -159,6 +159,7 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(const QList<SendCoinsRecipie
wallet->SetAddressBookName(strAddress, rcp.label.toStdString()); wallet->SetAddressBookName(strAddress, rcp.label.toStdString());
} }
} }
addressTableModel->updateList();
return SendCoinsReturn(OK, 0, hex); return SendCoinsReturn(OK, 0, hex);
} }

Loading…
Cancel
Save