summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-26 17:02:31 +0000
committerDavid Robillard <d@drobilla.net>2012-04-26 17:02:31 +0000
commit005c93954d0e694f2b1733a395ceacdeb05302fc (patch)
treea30521b32c5967ee0ce5fe1068a25225d6a4e596
parent02c35e896077c65f27520dda23f033883bd38203 (diff)
downloadingen-005c93954d0e694f2b1733a395ceacdeb05302fc.tar.gz
ingen-005c93954d0e694f2b1733a395ceacdeb05302fc.tar.bz2
ingen-005c93954d0e694f2b1733a395ceacdeb05302fc.zip
Don't save ingen:activity property, which is transient.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4276 a436a847-0d15-0410-975c-d299462d15a1
-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);
}