From 0aaae8b002fcff9fdd81a6155c609a546f68b938 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 3 Jul 2006 17:46:19 +0000 Subject: Enabled checkbox on patch windows working git-svn-id: http://svn.drobilla.net/lad/ingen@79 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/ObjectSender.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libs/engine') diff --git a/src/libs/engine/ObjectSender.cpp b/src/libs/engine/ObjectSender.cpp index b79a5df0..872c8d92 100644 --- a/src/libs/engine/ObjectSender.cpp +++ b/src/libs/engine/ObjectSender.cpp @@ -80,7 +80,9 @@ ObjectSender::send_patch(ClientInterface* client, const Patch* patch) const map& data = patch->metadata(); for (map::const_iterator j = data.begin(); j != data.end(); ++j) client->metadata_update(patch->path(), (*j).first, (*j).second); - + + if (patch->process()) + client->patch_enabled(patch->path()); } -- cgit v1.2.1