From bef1cb59053ed2f0edbd895d0b8f41ec6b92748c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Thu, 10 Feb 2022 14:24:28 +0100 Subject: [PATCH] don't call the end message in the foreach --- src/document/UBDocumentController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document/UBDocumentController.cpp b/src/document/UBDocumentController.cpp index 4b168e94..693fbd85 100644 --- a/src/document/UBDocumentController.cpp +++ b/src/document/UBDocumentController.cpp @@ -1566,11 +1566,11 @@ void UBDocumentTreeView::dropEvent(QDropEvent *event) } QApplication::restoreOverrideCursor(); - UBApplication::applicationController->showMessage(tr("%1 pages copied", "", total).arg(total), false); docModel->setHighLighted(QModelIndex()); } + UBApplication::applicationController->showMessage(tr("%1 pages copied", "", total).arg(total), false); UBApplication::documentController->TreeViewSelectionChanged(UBApplication::documentController->firstSelectedTreeIndex(), QModelIndex()); }