From e001689a6b3692cf7a73b8f5d3f664d560097e13 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Aug 2008 21:44:54 +0000 Subject: Fix loading patches and importing patches inside nested patches. git-svn-id: http://svn.drobilla.net/lad/ingen@1436 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/events/CreatePatchEvent.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libs/engine') 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."); -- cgit v1.2.1