summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-16 20:28:08 +0100
committerDavid Robillard <d@drobilla.net>2017-12-16 20:28:08 +0100
commit208ddf22cc2122fa729adb99a0c47b184d8c22af (patch)
tree841ffe9a4b0e4596be785851a64102ff26d64fd3 /src/server
parent0822bc5002924b89327b05d24778414fac7367b2 (diff)
downloadingen-208ddf22cc2122fa729adb99a0c47b184d8c22af.tar.gz
ingen-208ddf22cc2122fa729adb99a0c47b184d8c22af.tar.bz2
ingen-208ddf22cc2122fa729adb99a0c47b184d8c22af.zip
Fix undo of deletions that remove connections
Diffstat (limited to 'src/server')
-rw-r--r--src/server/events/Delete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Delete.cpp b/src/server/events/Delete.cpp
index b19ffd18..6153540e 100644
--- a/src/server/events/Delete.cpp
+++ b/src/server/events/Delete.cpp
@@ -167,10 +167,10 @@ Delete::undo(Interface& target)
{
auto i = _removed_objects.find(_path);
if (i != _removed_objects.end()) {
- target.put(_uri, i->second->properties());
if (_disconnect_event) {
_disconnect_event->undo(target);
}
+ target.put(_uri, i->second->properties());
}
}