diff options
author | David Robillard <d@drobilla.net> | 2017-12-16 20:32:46 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-16 20:32:46 +0100 |
commit | 37e4ae0ddaf61655a7f1698c36bf0bb3a6b2e99c (patch) | |
tree | 6558a2302a58255829c0c66b75cea05ea71d46d6 /src/server | |
parent | 208ddf22cc2122fa729adb99a0c47b184d8c22af (diff) | |
download | ingen-37e4ae0ddaf61655a7f1698c36bf0bb3a6b2e99c.tar.gz ingen-37e4ae0ddaf61655a7f1698c36bf0bb3a6b2e99c.tar.bz2 ingen-37e4ae0ddaf61655a7f1698c36bf0bb3a6b2e99c.zip |
Don't attempt to undo saving graphs
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/events/Copy.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/events/Copy.cpp b/src/server/events/Copy.cpp index 53f62958..b0801075 100644 --- a/src/server/events/Copy.cpp +++ b/src/server/events/Copy.cpp @@ -209,7 +209,9 @@ Copy::post_process() void Copy::undo(Interface& target) { - target.del(_new_uri); + if (uri_is_path(_new_uri)) { + target.del(_new_uri); + } } } // namespace Events |