diff options
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(); } } |
