mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-12 10:53:09 +00:00
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:
parent
7c85a2a804
commit
cae8db59ba
|
@ -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…
Reference in a new issue