summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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;