diff options
author | David Robillard <d@drobilla.net> | 2014-01-04 01:02:04 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-01-04 01:02:04 +0000 |
commit | 79c6624d7b26c2a1d5c2c244e1f05128aa4063e1 (patch) | |
tree | 6763d67056a2184c390f984fd4fb7ab26ae90e74 /src/gui | |
parent | 1e31d841f3513c39a7ac5b2d07cd18da7db92eed (diff) | |
download | ingen-79c6624d7b26c2a1d5c2c244e1f05128aa4063e1.tar.gz ingen-79c6624d7b26c2a1d5c2c244e1f05128aa4063e1.tar.bz2 ingen-79c6624d7b26c2a1d5c2c244e1f05128aa4063e1.zip |
Make only control inputs controllable by user.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5251 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/Port.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index ae9cc2bc..1cc7f208 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -106,6 +106,8 @@ Port::Port(App& app, signal_event().connect( sigc::mem_fun(this, &Port::on_event)); + set_is_controllable(pm->is_numeric() && pm->is_input()); + update_metadata(); value_changed(pm->value()); } |