diff --git a/src/document/UBDocumentController.cpp b/src/document/UBDocumentController.cpp index f7243ae3..8367cff3 100644 --- a/src/document/UBDocumentController.cpp +++ b/src/document/UBDocumentController.cpp @@ -1618,6 +1618,7 @@ void UBDocumentController::deletePages(QList itemsToDelete) minIndex = qMin(i, minIndex); mDocumentUI->thumbnailWidget->selectItemAt(minIndex); + UBApplication::boardController->setActiveDocumentScene(minIndex); } } }