summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-18 21:44:54 +0000
committerDavid Robillard <d@drobilla.net>2008-08-18 21:44:54 +0000
commite001689a6b3692cf7a73b8f5d3f664d560097e13 (patch)
tree54bebca214dd5ffb67837cf19a20e4768d1ff9d1 /src/libs/engine
parent1631460b986285cdeb58462836f8a825ac1c7975 (diff)
downloadingen-e001689a6b3692cf7a73b8f5d3f664d560097e13.tar.gz
ingen-e001689a6b3692cf7a73b8f5d3f664d560097e13.tar.bz2
ingen-e001689a6b3692cf7a73b8f5d3f664d560097e13.zip
Fix loading patches and importing patches inside nested patches.
git-svn-id: http://svn.drobilla.net/lad/ingen@1436 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/events/CreatePatchEvent.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/engine/events/CreatePatchEvent.cpp b/src/libs/engine/events/CreatePatchEvent.cpp
index 6279732e..64fe5c63 100644
--- a/src/libs/engine/events/CreatePatchEvent.cpp
+++ b/src/libs/engine/events/CreatePatchEvent.cpp
@@ -134,9 +134,10 @@ CreatePatchEvent::post_process()
msg.append(_path);
_responder->respond_error(msg);
} else if (_error == OBJECT_EXISTS) {
- string msg = "Unable to create patch: ";
+ _responder->respond_ok();
+ /*string msg = "Unable to create patch: ";
msg.append(_path).append(" already exists.");
- _responder->respond_error(msg);
+ _responder->respond_error(msg);*/
} else if (_error == PARENT_NOT_FOUND) {
string msg = "Unable to create patch: Parent ";
msg.append(Path(_path).parent()).append(" not found.");