From 0175d30778b93a1b79e9dedc53f037e81de729b7 Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Sun, 3 Nov 2019 00:15:56 +0100 Subject: Improve speed of LPE's updating widgets on release knots instead when value change --- src/live_effects/parameter/unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/live_effects/parameter/unit.cpp') diff --git a/src/live_effects/parameter/unit.cpp b/src/live_effects/parameter/unit.cpp index 109d7fced..7a9ccdd4b 100644 --- a/src/live_effects/parameter/unit.cpp +++ b/src/live_effects/parameter/unit.cpp @@ -69,7 +69,7 @@ UnitParam::param_update_default(const gchar * default_unit) void UnitParam::param_set_value(Inkscape::Util::Unit const &val) { - param_effect->upd_params = true; + param_effect->refresh_widgets = true; unit = new Inkscape::Util::Unit(val); } -- cgit v1.2.3