update document thummbnail when a new page is inserted

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent a277bf78a3
commit e7b707d591
  1. 1
      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()));

Loading…
Cancel
Save