summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-05-08 11:45:31 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-05-08 11:45:31 +0000
commitaafbd92e2dd5d7bdf1de9af2e1f3a6402da9cdea (patch)
tree673eeb47e08b091e33db0fa1100c092113298ccd /src
parentAdd some documentation (Harfbuzz, OpenType SVG). (diff)
downloadinkscape-aafbd92e2dd5d7bdf1de9af2e1f3a6402da9cdea.tar.gz
inkscape-aafbd92e2dd5d7bdf1de9af2e1f3a6402da9cdea.zip
Fix a crashing bug on Fillet Chamfer LPE
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-fillet-chamfer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp
index e0aada95b..379f182fc 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -375,7 +375,7 @@ void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem)
satellites_param.setPathVectorSatellites(_pathvector_satellites, write);
refreshKnots();
Glib::ustring current_unit = Glib::ustring(unit.get_abbreviation());
- if (previous_unit != current_unit) {
+ if (previous_unit != "" && previous_unit != current_unit) {
updateAmount();
}
previous_unit = current_unit;