diff options
author | David Robillard <d@drobilla.net> | 2008-08-18 21:44:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-18 21:44:54 +0000 |
commit | e001689a6b3692cf7a73b8f5d3f664d560097e13 (patch) | |
tree | 54bebca214dd5ffb67837cf19a20e4768d1ff9d1 /src/libs/engine | |
parent | 1631460b986285cdeb58462836f8a825ac1c7975 (diff) | |
download | ingen-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.cpp | 5 |
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."); |