Invalidate canonical ID for Draw and PDF files so that the slides

in the slide pane will render

Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: I43f93c0c02d801391eaea9916ab1bd8e827249a9
private/gokay/tab-translations
Patrick Luby 2023-09-10 19:57:37 -04:00 committed by Paris
parent 805d0cec13
commit 0898e05e3a
1 changed files with 3 additions and 1 deletions

View File

@ -1705,7 +1705,9 @@ private:
viewCount << " view" << (viewCount != 1 ? "s." : "."));
session->initWatermark();
if (session->hasWatermark())
// Invalidate canonical ID for Draw and PDF files so that the slides
// in the slide pane will render
if (session->hasWatermark() || _loKitDocument->getDocumentType() == LOK_DOCTYPE_DRAWING)
{
invalidateCanonicalId(session->getId());
}