diff --git a/src/board/UBLibraryController.cpp b/src/board/UBLibraryController.cpp index 5cd94b91..6d87190a 100644 --- a/src/board/UBLibraryController.cpp +++ b/src/board/UBLibraryController.cpp @@ -321,7 +321,7 @@ QImage* UBLibraryController::thumbnailForFile(UBLibElement* pElement) QList UBLibraryController::addVirtualElementsForItemPath(const QString& pPath) { QList content; - if (pPath == mInteractiveCategoryPath.toString()) + if (pPath == mInteractiveUserDirectoryPath.toLocalFile()) content << mInternalLibElements; else if (pPath == mPicturesStandardDirectoryPath.toLocalFile()){ QUrl path = QUrl::fromLocalFile(UBSettings::settings()->uniboardImageLibraryDirectory());