mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
Send: don't allow tx construction before sync is complete
This commit is contained in:
parent
f5d75dab7c
commit
f8bc335720
1 changed files with 6 additions and 0 deletions
|
@ -136,6 +136,12 @@ void SendWidget::sendClicked() {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!m_ctx->wallet->isSynchronized()) {
|
||||
QMessageBox::warning(this, "Error", "Wallet is not synchronized, unable to create transaction.\n\n"
|
||||
"Wait for synchronization to complete.");
|
||||
return;
|
||||
}
|
||||
|
||||
QString currency = ui->comboCurrencySelection->currentText();
|
||||
QString recipient = ui->lineAddress->text().simplified().remove(' ');
|
||||
QString description = ui->lineDescription->text();
|
||||
|
|
Loading…
Reference in a new issue