From 98d368ee1fbfce8a561479da078e97a7f5d7ccd4 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Fri, 5 Apr 2019 10:57:38 +0200 Subject: More cleanup of document.h. --- src/ui/widget/licensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/widget/licensor.cpp') diff --git a/src/ui/widget/licensor.cpp b/src/ui/widget/licensor.cpp index c5d6a9aca..2ad811f17 100644 --- a/src/ui/widget/licensor.cpp +++ b/src/ui/widget/licensor.cpp @@ -64,7 +64,7 @@ void LicenseItem::on_toggled() _wr.setUpdating (true); SPDocument *doc = SP_ACTIVE_DOCUMENT; rdf_set_license (doc, _lic->details ? _lic : nullptr); - if (doc->sensitive) { + if (doc->isSensitive()) { DocumentUndo::done(doc, SP_VERB_NONE, _("Document license updated")); } _wr.setUpdating (false); -- cgit v1.2.3