Changeset View
Changeset View
Standalone View
Standalone View
src/qt/sendcoinsdialog.cpp
Show First 20 Lines • Show All 386 Lines • ▼ Show 20 Lines | if (sendStatus.status == WalletModel::OK) { | ||||
CoinControlDialog::coinControl()->UnSelectAll(); | CoinControlDialog::coinControl()->UnSelectAll(); | ||||
coinControlUpdateLabels(); | coinControlUpdateLabels(); | ||||
Q_EMIT coinsSent(currentTransaction.getWtx()->get().GetId()); | Q_EMIT coinsSent(currentTransaction.getWtx()->get().GetId()); | ||||
} | } | ||||
fNewRecipientAllowed = true; | fNewRecipientAllowed = true; | ||||
} | } | ||||
void SendCoinsDialog::clear() { | void SendCoinsDialog::clear() { | ||||
// Clear coin control settings | |||||
CoinControlDialog::coinControl()->UnSelectAll(); | |||||
ui->checkBoxCoinControlChange->setChecked(false); | |||||
ui->lineEditCoinControlChange->clear(); | |||||
coinControlUpdateLabels(); | |||||
// 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(); | ||||
} | } | ||||
addEntry(); | addEntry(); | ||||
updateTabsAndLabels(); | updateTabsAndLabels(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 528 Lines • Show Last 20 Lines |