mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Send: don't allow tx construction before sync is complete
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user