diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-04-05 08:57:38 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-04-05 08:57:38 +0000 |
| commit | 98d368ee1fbfce8a561479da078e97a7f5d7ccd4 (patch) | |
| tree | c2bf896c3bebb8766dec9fd1a0032ffd2ebc0824 /src/ui/widget/licensor.cpp | |
| parent | Fix indentating. (diff) | |
| download | inkscape-98d368ee1fbfce8a561479da078e97a7f5d7ccd4.tar.gz inkscape-98d368ee1fbfce8a561479da078e97a7f5d7ccd4.zip | |
More cleanup of document.h.
Diffstat (limited to 'src/ui/widget/licensor.cpp')
| -rw-r--r-- | src/ui/widget/licensor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
