summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 0c027a57f..07081286a 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -1488,13 +1488,13 @@ 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) {
+ if (param->widget_is_enabled) {
+ widg->set_sensitive(true);
+ } else {
+ widg->set_sensitive(false);
+ }
vbox->pack_start(*widg, true, true, 2);
if (tip) {
widg->set_tooltip_text(*tip);