From 53f83f508516d2dddf027782dce6dd045bcf1943 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Sep 2011 19:44:47 +0000 Subject: 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 --- src/client/ObjectModel.cpp | 5 +++-- src/client/PortModel.cpp | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/client') 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; -- cgit v1.2.1