diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-08-19 18:06:03 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-08-19 18:06:03 +0000 |
| commit | 262af300f24d864519eb6424765f66cbac71422e (patch) | |
| tree | 73eb160cce76998645d6edc95e6dcde40cf17039 /src/sp-item.cpp | |
| parent | Minor tweak on measure segment (diff) | |
| download | inkscape-262af300f24d864519eb6424765f66cbac71422e.tar.gz inkscape-262af300f24d864519eb6424765f66cbac71422e.zip | |
Also alow shapen, not only Paths on meassure segments
Diffstat (limited to 'src/sp-item.cpp')
| -rw-r--r-- | src/sp-item.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp index 4f3c7d283..b4642da5d 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -691,8 +691,9 @@ void SPItem::update(SPCtx* ctx, guint flags) { } // Update libavoid with item geometry (for connector routing). - if (avoidRef) + if (avoidRef && document) { avoidRef->handleSettingChange(); + } } void SPItem::modified(unsigned int /*flags*/) |
