diff options
author | David Robillard <d@drobilla.net> | 2007-01-12 18:12:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-01-12 18:12:06 +0000 |
commit | 09a4ea31dc9ce8ef4cd399a6c68054aafe31c325 (patch) | |
tree | c41cd0b337b951ce02890635d19c9c6a5ec6bafc /src/progs/ingenuity/ControlGroups.h | |
parent | b162a604d0452752c679e31fd6b3f3de0687151c (diff) | |
download | ingen-09a4ea31dc9ce8ef4cd399a6c68054aafe31c325.tar.gz ingen-09a4ea31dc9ce8ef4cd399a6c68054aafe31c325.tar.bz2 ingen-09a4ea31dc9ce8ef4cd399a6c68054aafe31c325.zip |
Control value persistence/serialization.
git-svn-id: http://svn.drobilla.net/lad/ingen@252 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/ControlGroups.h')
-rw-r--r-- | src/progs/ingenuity/ControlGroups.h | 7 |
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; } |