summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-23 19:44:47 +0000
committerDavid Robillard <d@drobilla.net>2011-09-23 19:44:47 +0000
commit53f83f508516d2dddf027782dce6dd045bcf1943 (patch)
treeecb1d924ebc0104205755484355e7d8dad25f8b5 /src/client
parent9a99f038176a7fadc59bbeaa3d3d57f16e4abb74 (diff)
downloadingen-53f83f508516d2dddf027782dce6dd045bcf1943.tar.gz
ingen-53f83f508516d2dddf027782dce6dd045bcf1943.tar.bz2
ingen-53f83f508516d2dddf027782dce6dd045bcf1943.zip
Don't prompt for save location when path is already known from previous save or load.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3476 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ObjectModel.cpp5
-rw-r--r--src/client/PortModel.cpp5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp
index 03b21247..a0235bb6 100644
--- a/src/client/ObjectModel.cpp
+++ b/src/client/ObjectModel.cpp
@@ -48,9 +48,10 @@ ObjectModel::~ObjectModel()
}
Raul::Atom&
-ObjectModel::set_property(const Raul::URI& key, const Raul::Atom& value)
+ObjectModel::set_property(const Raul::URI& key, const Raul::Atom& value,
+ Resource::Graph ctx)
{
- Raul::Atom& my_value = ResourceImpl::set_property(key, value);
+ Raul::Atom& my_value = ResourceImpl::set_property(key, value, ctx);
_signal_property.emit(key, my_value);
return my_value;
}
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp
index be6d74a5..fe85e108 100644
--- a/src/client/PortModel.cpp
+++ b/src/client/PortModel.cpp
@@ -24,9 +24,10 @@ namespace Client {
Raul::Atom&
PortModel::set_property(const Raul::URI& uri,
- const Raul::Atom& value)
+ const Raul::Atom& value,
+ Resource::Graph ctx)
{
- Raul::Atom& ret = ObjectModel::set_property(uri, value);
+ Raul::Atom& ret = ObjectModel::set_property(uri, value, ctx);
if (uri == _uris.ingen_value)
this->value(value);
return ret;