summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-fillet-chamfer.cpp
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-05-08 16:07:16 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-05-08 16:07:16 +0000
commitb90687801af682c54b62f57ae94b9b90b866b259 (patch)
tree135edf781dcd288503a29067b759a4dca4813ef4 /src/live_effects/lpe-fillet-chamfer.cpp
parentFix a crashing bug on Fillet Chamfer LPE (diff)
downloadinkscape-b90687801af682c54b62f57ae94b9b90b866b259.tar.gz
inkscape-b90687801af682c54b62f57ae94b9b90b866b259.zip
Revert bad fix from previous commit
Diffstat (limited to 'src/live_effects/lpe-fillet-chamfer.cpp')
-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 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;