reload board thumnails after adding a file to the document if the document is also selected in board

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent 76cfee3dc5
commit 827f5a514c
  1. 4
      src/document/UBDocumentController.cpp

@ -3013,6 +3013,10 @@ void UBDocumentController::addFileToDocument()
{
addFileToDocument(document);
reloadThumbnails();
if (UBApplication::boardController->selectedDocument() == selectedDocument())
{
UBApplication::boardController->reloadThumbnails();
}
}
}

Loading…
Cancel
Save