From b90687801af682c54b62f57ae94b9b90b866b259 Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Wed, 8 May 2019 18:07:16 +0200 Subject: Revert bad fix from previous commit --- src/live_effects/lpe-fillet-chamfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp index 379f182fc..e0aada95b 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 != "" && previous_unit != current_unit) { + if (previous_unit != current_unit) { updateAmount(); } previous_unit = current_unit; -- cgit v1.2.3