diff --git a/editor/extensions/ext-connector.js b/editor/extensions/ext-connector.js index 1b74f4bc..a1c9449f 100644 --- a/editor/extensions/ext-connector.js +++ b/editor/extensions/ext-connector.js @@ -487,6 +487,8 @@ svgEditor.addExtension("Connector", function(S) { } }, selectedChanged: function(opts) { + // TODO: Find better way to skip operations if no connectors are in use + if(!$(svgcontent).find(conn_sel).length) return; if(svgCanvas.getMode() == 'connector') { svgCanvas.setMode('select');