Commit 56bebd82 authored by Laurent Montel's avatar Laurent Montel 😁

Fix scroll to position

parent c11ec445
......@@ -2147,8 +2147,6 @@ void ViewerPrivate::updateReaderWin()
htmlWriter()->end();
}
mViewer->scrollToRelativePosition(mViewer->relativePosition());
mViewer->clearRelativePosition();
mRecursionCountForDisplayMessage--;
}
......@@ -2362,6 +2360,8 @@ void ViewerPrivate::injectAttachments()
mViewer->injectAttachments(bind(&ViewerPrivate::attachmentInjectionHtml, this));
toggleFullAddressList();
mViewer->executeCustomRenderingScripts();
mViewer->scrollToRelativePosition(mViewer->relativePosition());
mViewer->clearRelativePosition();
}
void ViewerPrivate::slotSettingsChanged()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment