don't call the end message in the foreach

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent 1a0c45b7d6
commit bef1cb5905
  1. 2
      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());
}

Loading…
Cancel
Save