Skip to content

Commit

Permalink
#721 - accept multiline description for receive
Browse files Browse the repository at this point in the history
  • Loading branch information
bayk committed Jan 21, 2021
1 parent dc9c9a8 commit 7de81b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows_desktop/g_filetransaction_receive_w.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void FileTransactionReceive::on_processButton_clicked()
{
util::TimeoutLockObject to( "FileTransactionReceive" );

QString description = ui->receiverMessage->toPlainText();
QString description = ui->receiverMessage->toPlainText().trimmed().replace('\n', ' ');

{
QString valRes = util->validateMwc713Str(description);
Expand Down

0 comments on commit 7de81b7

Please sign in to comment.