From 33e4ba44e8c60b5734f4bcca5a6a2a9ec1c327fc Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Thu, 11 Jul 2013 17:34:10 +0200 Subject: [PATCH] fixed using importing --- src/core/UBPersistenceManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/UBPersistenceManager.cpp b/src/core/UBPersistenceManager.cpp index cdefa8fe..a9ec444e 100644 --- a/src/core/UBPersistenceManager.cpp +++ b/src/core/UBPersistenceManager.cpp @@ -274,6 +274,8 @@ UBDocumentProxy* UBPersistenceManager::createDocumentFromDir(const QString& pDoc { checkIfDocumentRepositoryExists(); + UBPersistenceManager::persistenceManager()->shiftPagesToStartWithTheZeroOne(pDocumentDirectory); + UBDocumentProxy* doc = new UBDocumentProxy(pDocumentDirectory); // deleted in UBPersistenceManager::destructor if (pGroupName.length() > 0)