diff --git a/core/rendered_connection.js b/core/rendered_connection.js index 6ac5c5a60..9d6739b29 100644 --- a/core/rendered_connection.js +++ b/core/rendered_connection.js @@ -368,7 +368,7 @@ Blockly.RenderedConnection.prototype.disconnect = function() { if (rehide) { // Set the hidden state for the connection back to true so shadow blocks // will be hidden. - superiorConnection.hideAll(); + superiorConnection.setHidden(true); } };