diff options
author | David Robillard <d@drobilla.net> | 2017-12-16 20:28:08 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-16 20:28:08 +0100 |
commit | 208ddf22cc2122fa729adb99a0c47b184d8c22af (patch) | |
tree | 841ffe9a4b0e4596be785851a64102ff26d64fd3 | |
parent | 0822bc5002924b89327b05d24778414fac7367b2 (diff) | |
download | ingen-208ddf22cc2122fa729adb99a0c47b184d8c22af.tar.gz ingen-208ddf22cc2122fa729adb99a0c47b184d8c22af.tar.bz2 ingen-208ddf22cc2122fa729adb99a0c47b184d8c22af.zip |
Fix undo of deletions that remove connections
-rw-r--r-- | src/server/events/Delete.cpp | 2 |
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()); } } |