diff --git a/core/document.cpp b/core/document.cpp index 1662fcde8..cb7bddbd6 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -3293,6 +3293,7 @@ bool Document::canRemovePageAnnotation( const Annotation * annotation ) const case Annotation::AHighlight: case Annotation::AStamp: case Annotation::AInk: + case Annotation::ACaret: return true; default: return false; diff --git a/generators/poppler/annots.cpp b/generators/poppler/annots.cpp index 3c3e3ec79..8cde64833 100644 --- a/generators/poppler/annots.cpp +++ b/generators/poppler/annots.cpp @@ -341,6 +341,7 @@ Okular::Annotation* createAnnotationFromPopplerAnnotation( Poppler::Annotation * case Poppler::Annotation::AGeom: case Poppler::Annotation::AHighlight: case Poppler::Annotation::AInk: + case Poppler::Annotation::ACaret: { externallyDrawn = true; /* fallback */