use simplified call to documentThumbnailsUpdated (with the good source)

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent 758bd16da7
commit 064ba61552
  1. 2
      src/board/UBBoardController.cpp

@ -524,7 +524,7 @@ void UBBoardController::addScene()
if (UBApplication::documentController->selectedDocument() == selectedDocument()) if (UBApplication::documentController->selectedDocument() == selectedDocument())
{ {
UBApplication::documentController->insertThumbPage(mActiveSceneIndex+1); UBApplication::documentController->insertThumbPage(mActiveSceneIndex+1);
emit UBApplication::documentController->documentThumbnailsUpdated(UBApplication::documentController); emit UBApplication::documentController->reloadThumbnails();
} }
selectedDocument()->setMetaData(UBSettings::documentUpdatedAt, UBStringUtils::toUtcIsoDateTime(QDateTime::currentDateTime())); selectedDocument()->setMetaData(UBSettings::documentUpdatedAt, UBStringUtils::toUtcIsoDateTime(QDateTime::currentDateTime()));

Loading…
Cancel
Save