diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2018-10-22 11:51:57 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2018-10-22 11:51:57 +0000 |
| commit | 0f4e827493bfb17ade1d1b6e1f98527b35a44afa (patch) | |
| tree | 4d7315def87bf29de72d24508e89d961a43bf76e /src/object/sp-object.cpp | |
| parent | Remove 'document-private.h' where not needed plus some other header cleanup. (diff) | |
| download | inkscape-0f4e827493bfb17ade1d1b6e1f98527b35a44afa.tar.gz inkscape-0f4e827493bfb17ade1d1b6e1f98527b35a44afa.zip | |
Fix assert when removing LPE Definition
Diffstat (limited to 'src/object/sp-object.cpp')
| -rw-r--r-- | src/object/sp-object.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object/sp-object.cpp b/src/object/sp-object.cpp index 7c6b6c28d..07c82cbd5 100644 --- a/src/object/sp-object.cpp +++ b/src/object/sp-object.cpp @@ -1193,10 +1193,10 @@ void SPObject::requestDisplayUpdate(unsigned int flags) * don't need to set CHILD_MODIFIED on our ancestors because it's already been done. */ if (already_propagated) { - if (parent) { - parent->requestDisplayUpdate(SP_OBJECT_CHILD_MODIFIED_FLAG); - } else { - if(this->document) { + if(this->document) { + if (parent) { + parent->requestDisplayUpdate(SP_OBJECT_CHILD_MODIFIED_FLAG); + } else { this->document->requestModified(); } } |
