summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/surface_port.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces/mackie/surface_port.cc')
-rw-r--r--libs/surfaces/mackie/surface_port.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/mackie/surface_port.cc b/libs/surfaces/mackie/surface_port.cc
index c732c6869c..e972ada8ab 100644
--- a/libs/surfaces/mackie/surface_port.cc
+++ b/libs/surfaces/mackie/surface_port.cc
@@ -119,7 +119,7 @@ SurfacePort::set_state (const XMLNode& node, int version)
if (dynamic_cast<MIDI::IPMIDIPort*>(_input_port)) {
return 0;
}
-
+ // the rest should not be run if the device-name changes outside of a session load.
XMLNode* child;
if ((child = node.child (X_("Input"))) != 0) {