mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
Simplify and remove white space on recipient (Pay to)
This commit is contained in:
parent
df2ff26c0f
commit
0dd81c4873
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ void SendWidget::fillAddress(const QString &address) {
|
|||
void SendWidget::sendClicked() {
|
||||
double amount = 0.0;
|
||||
QString currency = ui->comboCurrencySelection->currentText();
|
||||
QString recipient = ui->lineAddress->text(); // @TODO: regex
|
||||
QString recipient = ui->lineAddress->text().simplified().remove(' ');
|
||||
QString description = ui->lineDescription->text();
|
||||
if(recipient.isEmpty()) {
|
||||
QMessageBox::warning(this, "Malformed recipient", "The recipient address was not correct");
|
||||
|
|
Loading…
Reference in a new issue