From 7dd78f28d8984705f444ff0fa548a26b3f1f1f93 Mon Sep 17 00:00:00 2001 From: Phenom Date: Mon, 22 Aug 2016 23:08:02 +0200 Subject: [PATCH] Fix Lobby Load embedded image option. --- retroshare-gui/src/gui/chat/ChatWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/chat/ChatWidget.cpp b/retroshare-gui/src/gui/chat/ChatWidget.cpp index 2ff3c7436..725fcb11b 100644 --- a/retroshare-gui/src/gui/chat/ChatWidget.cpp +++ b/retroshare-gui/src/gui/chat/ChatWidget.cpp @@ -196,8 +196,8 @@ ChatWidget::ChatWidget(QWidget *parent) : ui->actionSendAsPlainText->setChecked(Settings->getChatSendAsPlainTextByDef()); - ui->textBrowser->resetImagesStatus(Settings->getChatLoadEmbeddedImages()); ui->textBrowser->setImageBlockWidget(ui->imageBlockWidget); + ui->textBrowser->resetImagesStatus(Settings->getChatLoadEmbeddedImages());//Need to be called after setImageBlockWidget ui->imageBlockWidget->setAutoHide(true); ui->textBrowser->installEventFilter(this); ui->textBrowser->viewport()->installEventFilter(this);