Changeset View
Changeset View
Standalone View
Standalone View
src/qt/sendcoinsdialog.cpp
Show First 20 Lines • Show All 405 Lines • ▼ Show 20 Lines | WalletModel::SendCoinsReturn sendStatus = | ||||
model->sendCoins(currentTransaction); | model->sendCoins(currentTransaction); | ||||
// process sendStatus and on error generate message shown to user | // process sendStatus and on error generate message shown to user | ||||
processSendCoinsReturn(sendStatus); | processSendCoinsReturn(sendStatus); | ||||
if (sendStatus.status == WalletModel::OK) { | if (sendStatus.status == WalletModel::OK) { | ||||
accept(); | accept(); | ||||
CoinControlDialog::coinControl->UnSelectAll(); | CoinControlDialog::coinControl->UnSelectAll(); | ||||
coinControlUpdateLabels(); | coinControlUpdateLabels(); | ||||
Q_EMIT coinsSent(currentTransaction.getTransaction()->GetId()); | |||||
} | } | ||||
fNewRecipientAllowed = true; | fNewRecipientAllowed = true; | ||||
} | } | ||||
void SendCoinsDialog::clear() { | void SendCoinsDialog::clear() { | ||||
// Remove entries until only one left | // Remove entries until only one left | ||||
while (ui->entries->count()) { | while (ui->entries->count()) { | ||||
ui->entries->takeAt(0)->widget()->deleteLater(); | ui->entries->takeAt(0)->widget()->deleteLater(); | ||||
▲ Show 20 Lines • Show All 581 Lines • Show Last 20 Lines |