for now, disable the editing of extrnal annotations (ie, the ones in the document)

svn path=/trunk/KDE/kdegraphics/okular/; revision=746252
This commit is contained in:
Pino Toscano 2007-12-08 12:45:44 +00:00
parent 7c85a2a804
commit cae8db59ba

View file

@ -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 )
{