summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
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;