From cae8db59ba5a928c2f2b6a0814163033529f610c Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sat, 8 Dec 2007 12:45:44 +0000 Subject: [PATCH] for now, disable the editing of extrnal annotations (ie, the ones in the document) svn path=/trunk/KDE/kdegraphics/okular/; revision=746252 --- ui/annotationpropertiesdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/annotationpropertiesdialog.cpp b/ui/annotationpropertiesdialog.cpp index 3ff15276d..67ce4f022 100644 --- a/ui/annotationpropertiesdialog.cpp +++ b/ui/annotationpropertiesdialog.cpp @@ -34,7 +34,7 @@ AnnotsPropertiesDialog::AnnotsPropertiesDialog( QWidget *parent, Okular::Documen { setFaceType( Tabbed ); m_annot=ann; - bool canEditAnnotations = m_document->isAllowed( Okular::AllowNotes ); + bool canEditAnnotations = !(ann->flags() & Okular::Annotation::External) && m_document->isAllowed( Okular::AllowNotes ); setCaptionTextbyAnnotType(); if ( canEditAnnotations ) {