diff options
author | David Robillard <d@drobilla.net> | 2017-03-18 19:19:20 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-03-18 19:19:20 +0100 |
commit | abe23eeec2c33303c5d5297e29ac48dcf829fb18 (patch) | |
tree | 1151a6c800b359b0a79759696390ae3490b05647 /src | |
parent | d3411dafd621f271943b52a54ddaa201dfccbc4e (diff) | |
download | ingen-abe23eeec2c33303c5d5297e29ac48dcf829fb18.tar.gz ingen-abe23eeec2c33303c5d5297e29ac48dcf829fb18.tar.bz2 ingen-abe23eeec2c33303c5d5297e29ac48dcf829fb18.zip |
Don't delete LV2 ports
Diffstat (limited to 'src')
-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 3cb946b9..b19ffd18 100644 --- a/src/server/events/Delete.cpp +++ b/src/server/events/Delete.cpp @@ -76,7 +76,7 @@ Delete::pre_process(PreProcessContext& ctx) _port = dynamic_ptr_cast<DuplexPort>(iter->second); } - if (!_block && !_port) { + if ((!_block && !_port) || (_port && !_engine.driver()->dynamic_ports())) { return Event::pre_process_done(Status::NOT_DELETABLE, _path); } |