fixed an issue where reload thumbnails would be called twice with the second call not using the good source container

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent e33fc007c7
commit 141c48e20d
  1. 1
      src/document/UBDocumentController.cpp

@ -3217,7 +3217,6 @@ void UBDocumentController::addToDocument()
UBMetadataDcSubsetAdaptor::persist(mBoardController->selectedDocument()); UBMetadataDcSubsetAdaptor::persist(mBoardController->selectedDocument());
mBoardController->reloadThumbnails(); mBoardController->reloadThumbnails();
emit mBoardController->documentThumbnailsUpdated(this);
UBApplication::applicationController->showBoard(); UBApplication::applicationController->showBoard();
mBoardController->setActiveDocumentScene(newActiveSceneIndex); mBoardController->setActiveDocumentScene(newActiveSceneIndex);

Loading…
Cancel
Save