aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_qt.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-12-31 14:10:55 -0500
committerDavid Robillard <d@drobilla.net>2015-12-31 14:10:55 -0500
commit0bb0b753c62c900027def66288489442cb69f336 (patch)
tree40f19d3d2f1748ca7130749b93c9ac4f697dfa55 /src/jalv_qt.cpp
parent5a7c238a33400b5572a587f7290ca7027b207f70 (diff)
downloadjalv-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.cpp2
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;
}