Merge pull request #481 from PhenomRetroShare/Fix_LobbyLoadEmbeddedImageOption

Fix Lobby Load embedded image option.
This commit is contained in:
Cyril Soler 2016-08-22 23:17:33 +02:00 committed by GitHub
commit b7416ba207

View File

@ -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);