diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-10-19 14:40:29 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-10-19 14:40:29 +0000 |
| commit | 602f9c6600ebd89491dbe5541445ba3545cbb940 (patch) | |
| tree | 4811ebafeb534a16e98ce64e3d2d4648a9b1862f /src/sp-object.cpp | |
| parent | [Bug #1574561] Italian translation update. (diff) | |
| download | inkscape-602f9c6600ebd89491dbe5541445ba3545cbb940.tar.gz inkscape-602f9c6600ebd89491dbe5541445ba3545cbb940.zip | |
Fix bug:1634641 crash on delete
Fixed bugs:
- https://launchpad.net/bugs/1634645
(bzr r15179)
Diffstat (limited to 'src/sp-object.cpp')
| -rw-r--r-- | src/sp-object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp index cbd7aa969..21d8bcd93 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -485,7 +485,7 @@ void SPObject::_sendDeleteSignalRecursive() { void SPObject::deleteObject(bool propagate, bool propagate_descendants) { sp_object_ref(this, NULL); - if ( SP_IS_LPE_ITEM(this) ) { + if ( SP_IS_LPE_ITEM(this) && SP_LPE_ITEM(this)->hasPathEffect()) { SP_LPE_ITEM(this)->removeAllPathEffects(false); } if (propagate) { |
