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

svn path=/trunk/KDE/kdegraphics/okular/; revision=746252
remotes/origin/KDE/4.0
Pino Toscano 19 years ago
parent 7c85a2a804
commit cae8db59ba
  1. 2
      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 )
{

Loading…
Cancel
Save