Importing a PDF document puts the first page of the PDF as Page 1.

preferencesAboutTextFull
Aleksei Kanash 13 years ago
parent c0fd058846
commit 199b605f1f
  1. 2
      src/adaptors/UBImportPDF.cpp

@ -80,7 +80,7 @@ bool UBImportPDF::addFileToDocument(UBDocumentProxy* pDocument, const QFile& pFi
for(int pdfPageNumber = 1; pdfPageNumber <= pdfPageCount; pdfPageNumber++) for(int pdfPageNumber = 1; pdfPageNumber <= pdfPageCount; pdfPageNumber++)
{ {
int pageIndex = documentPageCount + (pdfPageNumber - 1); int pageIndex = documentPageCount + pdfPageNumber;
UBApplication::showMessage(tr("Importing page %1 of %2").arg(pdfPageNumber).arg(pdfPageCount), true); UBApplication::showMessage(tr("Importing page %1 of %2").arg(pdfPageNumber).arg(pdfPageCount), true);
UBGraphicsScene* scene = 0; UBGraphicsScene* scene = 0;

Loading…
Cancel
Save