diff --git a/src/chatmodel.cpp b/src/chatmodel.cpp index 2fcbbf6..c3f5f08 100644 --- a/src/chatmodel.cpp +++ b/src/chatmodel.cpp @@ -734,7 +734,7 @@ QObject::connect(request.newZaddr, &QPushButton::clicked, [&] () { QString addr = request.zaddr->text(); QString myAddr = request.myzaddr->text().trimmed(); - QString memo = request.memorequest->text().trimmed(); + QString memo = request.memorequest->toPlainText().trimmed(); QString avatar = QString(":/icons/res/") + request.comboBoxAvatar->currentText() + QString(".png"); QString label = request.labelRequest->text().trimmed(); diff --git a/src/contactrequest.ui b/src/contactrequest.ui index d8ca0a6..91328db 100644 --- a/src/contactrequest.ui +++ b/src/contactrequest.ui @@ -432,12 +432,25 @@ - + Add a memo to your request + + + + + 0 + 0 + + + + 0/235 + + +