summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorschwieni <mschwienbacher@gmail.com>2019-03-22 12:32:41 +0000
committerMarkus Schwienbacher <mschwienbacher@gmail.com>2019-03-25 17:15:50 +0000
commit6949c0d92402e635b23a4ed49b83e1f38b8a2cb1 (patch)
tree87dffad314e07edb81f30c8ae4291378b01b09f5 /src/live_effects/effect.cpp
parentcorrect clang-format lpe-pts2ellipse.cpp (diff)
downloadinkscape-6949c0d92402e635b23a4ed49b83e1f38b8a2cb1.tar.gz
inkscape-6949c0d92402e635b23a4ed49b83e1f38b8a2cb1.zip
lpe-pts2ellipse: parameter enabling based on creation method
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 63895ed61..0c027a57f 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -1488,6 +1488,11 @@ Effect::newWidget()
if ((*it)->widget_is_visible) {
Parameter * param = *it;
Gtk::Widget * widg = param->param_newWidget();
+ if (param->widget_is_enabled) {
+ widg->set_sensitive(true);
+ } else {
+ widg->set_sensitive(false);
+ }
Glib::ustring * tip = param->param_getTooltip();
if (widg) {
vbox->pack_start(*widg, true, true, 2);