From 215f9675954e02162ae35a8f429c84adace33ac7 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Thu, 16 Nov 2017 20:52:24 -0500 Subject: [PATCH] Allow Ctrl-dragging input, although it doesn't do anything different from normal dragging --- src/app/Port.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/app/Port.cpp b/src/app/Port.cpp index af1cdb43..8d7b3cbb 100644 --- a/src/app/Port.cpp +++ b/src/app/Port.cpp @@ -65,11 +65,8 @@ void Port::onMouseDown(EventMouseDown &e) { void Port::onDragStart(EventDragStart &e) { // Try to grab wire on top of stack WireWidget *wire = gRackWidget->wireContainer->getTopWire(this); - if (guiIsModPressed()) { - if (type == INPUT) - return; - else - wire = NULL; + if (type == OUTPUT && guiIsModPressed()) { + wire = NULL; } if (wire) {