From 6bcecec93fbe1ebff64c535f1560c2d4f25fb812 Mon Sep 17 00:00:00 2001 From: defnax Date: Sun, 16 Jan 2022 18:44:51 +0100 Subject: [PATCH] Fixed in Chat window to add a enter when a preview picture is attached --- retroshare-gui/src/gui/chat/ChatWidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/chat/ChatWidget.cpp b/retroshare-gui/src/gui/chat/ChatWidget.cpp index a909e3e27..efd7265b5 100644 --- a/retroshare-gui/src/gui/chat/ChatWidget.cpp +++ b/retroshare-gui/src/gui/chat/ChatWidget.cpp @@ -1698,9 +1698,11 @@ void ChatWidget::fileHashingFinished(QList hashedFiles) if (!image.isEmpty()) { message += QString("").arg(image); } + message += link.toHtmlSize(); + } else { + message += "
" + link.toHtmlSize(); } } - message += link.toHtmlSize(); if (it != hashedFiles.end()) { message += "
";