diff options
Diffstat (limited to 'src/gui/PatchCanvas.cpp')
-rw-r--r-- | src/gui/PatchCanvas.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index 83e921b3..69cb0414 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -499,12 +499,7 @@ PatchCanvas::connect(boost::shared_ptr<FlowCanvas::Connectable> src_port, if (!src || !dst) return; - // Midi binding/learn shortcut - if (src->model()->type().is_events() && dst->model()->type().is_control()) { - LOG(error) << "TODO: MIDI binding shortcut" << endl; - } else { - App::instance().engine()->connect(src->model()->path(), dst->model()->path()); - } + App::instance().engine()->connect(src->model()->path(), dst->model()->path()); } |