aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/PortModel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-11 01:47:34 +0000
committerDavid Robillard <d@drobilla.net>2012-03-11 01:47:34 +0000
commitb77cf5f715f94ec172d3e759b3c4e03761374556 (patch)
tree67f755ca1f4af6aa67620341cefad6a0d2e0e8f6 /src/client/PortModel.cpp
parent905fbd7d76b541c12fe500a4b8c775a64275487b (diff)
downloadingen-b77cf5f715f94ec172d3e759b3c4e03761374556.tar.gz
ingen-b77cf5f715f94ec172d3e759b3c4e03761374556.tar.bz2
ingen-b77cf5f715f94ec172d3e759b3c4e03761374556.zip
Fix UI response to property changes like port value (fix #779).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4045 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/PortModel.cpp')
-rw-r--r--src/client/PortModel.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp
index 55051bf1..2fc649a7 100644
--- a/src/client/PortModel.cpp
+++ b/src/client/PortModel.cpp
@@ -22,15 +22,12 @@
namespace Ingen {
namespace Client {
-const Raul::Atom&
-PortModel::set_property(const Raul::URI& uri,
- const Raul::Atom& value,
- Resource::Graph ctx)
+void
+PortModel::on_property(const Raul::URI& uri, const Raul::Atom& value)
{
- const Raul::Atom& ret = ObjectModel::set_property(uri, value, ctx);
- if (uri == _uris.ingen_value)
+ if (uri == _uris.ingen_value) {
this->value(value);
- return ret;
+ }
}
bool