summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-11-01 21:13:11 +0000
committerDavid Robillard <d@drobilla.net>2013-11-01 21:13:11 +0000
commitb69555d59fed393f7301880a81d8709afda8e1ce (patch)
tree9ccca2b08a3e97930010d4450e257c51419f28a2 /src/gui
parentf33f560214cc5975cb94f3eafe21f1d1b0de07e5 (diff)
downloadingen-b69555d59fed393f7301880a81d8709afda8e1ce.tar.gz
ingen-b69555d59fed393f7301880a81d8709afda8e1ce.tar.bz2
ingen-b69555d59fed393f7301880a81d8709afda8e1ce.zip
Don't notify UIs about null atom port values (partially address #935).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5168 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/NodeModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 6885780b..7185d9bd 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -352,7 +352,7 @@ NodeModule::set_control_values()
{
uint32_t index = 0;
for (const auto& p : _block->ports()) {
- if (app().can_control(p.get())) {
+ if (app().can_control(p.get()) && p->value().is_valid()) {
port_value_changed(index, p->value());
}
++index;