From e7b707d5913377aea8e93f3b90d7393ec62f5747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Fri, 25 Feb 2022 15:30:39 +0100 Subject: [PATCH] update document thummbnail when a new page is inserted --- src/board/UBBoardController.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/board/UBBoardController.cpp b/src/board/UBBoardController.cpp index f6d01637..79bbd3ce 100644 --- a/src/board/UBBoardController.cpp +++ b/src/board/UBBoardController.cpp @@ -524,6 +524,7 @@ void UBBoardController::addScene() if (UBApplication::documentController->selectedDocument() == selectedDocument()) { UBApplication::documentController->insertThumbPage(mActiveSceneIndex+1); + emit UBApplication::documentController->documentThumbnailsUpdated(UBApplication::documentController); } selectedDocument()->setMetaData(UBSettings::documentUpdatedAt, UBStringUtils::toUtcIsoDateTime(QDateTime::currentDateTime()));