mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +00:00 
			
		
		
		
	Merge pull request 'Simplify and remove white space on recipient (Pay to)' (#124) from mrdeveloper/feather:simplified-recipient-addr into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/124 Reviewed-by: tobtoht <tobtoht@noreply.gitgud.wownero.nl>
This commit is contained in:
		
						commit
						4521223413
					
				
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue