diff options
author | David Robillard <d@drobilla.net> | 2015-12-31 14:10:55 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-12-31 14:10:55 -0500 |
commit | 0bb0b753c62c900027def66288489442cb69f336 (patch) | |
tree | 40f19d3d2f1748ca7130749b93c9ac4f697dfa55 /src/jalv_qt.cpp | |
parent | 5a7c238a33400b5572a587f7290ca7027b207f70 (diff) | |
download | jalv-0bb0b753c62c900027def66288489442cb69f336.tar.gz jalv-0bb0b753c62c900027def66288489442cb69f336.tar.bz2 jalv-0bb0b753c62c900027def66288489442cb69f336.zip |
Fix controls when range is given with integers
Diffstat (limited to 'src/jalv_qt.cpp')
-rw-r--r-- | src/jalv_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp index b531f75..114faf2 100644 --- a/src/jalv_qt.cpp +++ b/src/jalv_qt.cpp @@ -429,7 +429,7 @@ Control::Control(PortContainer portContainer, QWidget* parent) LILV_FOREACH(scale_points, s, sp) { const LilvScalePoint* p = lilv_scale_points_get(sp, s); const LilvNode* val = lilv_scale_point_get_value(p); - if (!lilv_node_is_float(val)) { + if (!lilv_node_is_float(val) && !lilv_node_is_int(val)) { continue; } |