diff options
Diffstat (limited to 'src/libs/engine/events/RenameEvent.cpp')
-rw-r--r-- | src/libs/engine/events/RenameEvent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/events/RenameEvent.cpp b/src/libs/engine/events/RenameEvent.cpp index 1b563d11..7d487cc1 100644 --- a/src/libs/engine/events/RenameEvent.cpp +++ b/src/libs/engine/events/RenameEvent.cpp @@ -113,7 +113,7 @@ RenameEvent::execute(ProcessContext& context) if (port->type() == DataType::AUDIO) driver_port = _engine.audio_driver()->driver_port(_new_path); - else if (port->type() == DataType::MIDI) + else if (port->type() == DataType::EVENT) driver_port = _engine.midi_driver()->driver_port(_new_path); if (driver_port) { |