summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-03 17:46:19 +0000
committerDavid Robillard <d@drobilla.net>2006-07-03 17:46:19 +0000
commit0aaae8b002fcff9fdd81a6155c609a546f68b938 (patch)
tree452897c7b6507d15e85382845bda71e66a3803d8 /src/libs/engine
parent03aa3b084fe3d97f62b67867085c04a23402397e (diff)
downloadingen-0aaae8b002fcff9fdd81a6155c609a546f68b938.tar.gz
ingen-0aaae8b002fcff9fdd81a6155c609a546f68b938.tar.bz2
ingen-0aaae8b002fcff9fdd81a6155c609a546f68b938.zip
Enabled checkbox on patch windows working
git-svn-id: http://svn.drobilla.net/lad/ingen@79 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/ObjectSender.cpp4
1 files changed, 3 insertions, 1 deletions
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<string, string>& data = patch->metadata();
for (map<string, string>::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());
}