summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client/PortModel.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp
index 7647e071..4cb13afd 100644
--- a/src/client/PortModel.cpp
+++ b/src/client/PortModel.cpp
@@ -24,10 +24,12 @@ namespace Client {
void
PortModel::on_property(const Raul::URI& uri, const Raul::Atom& value)
{
- if (uri == _uris.ingen_value) {
- this->value(value);
- } else if (uri == _uris.ingen_activity) {
+ if (uri == _uris.ingen_activity) {
signal_activity().emit(value);
+ } else {
+ if (uri == _uris.ingen_value) {
+ this->value(value);
+ }
}
ObjectModel::on_property(uri, value);
}