summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/ControlGroups.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/ingenuity/ControlGroups.h')
-rw-r--r--src/progs/ingenuity/ControlGroups.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/progs/ingenuity/ControlGroups.h b/src/progs/ingenuity/ControlGroups.h
index 4994a809..fa43b77e 100644
--- a/src/progs/ingenuity/ControlGroups.h
+++ b/src/progs/ingenuity/ControlGroups.h
@@ -109,10 +109,11 @@ inline void
SliderControlGroup::set_value(const float val)
{
m_enable_signal = false;
- if (m_enabled) {
- m_slider->set_value(val);
+ //if (m_enabled) {
+ if (m_slider->get_value() != val)
+ m_slider->set_value(val);
//m_value_spinner->set_value(val);
- }
+ //}
m_enable_signal = true;
}