diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 723836eb..28da4c3b 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -428,7 +428,7 @@ function svg_edit_setup() { var ref_data = Actions.getButtonData(opts.button); - if(opts.def) { + if(opts.isDefault) { placement_obj['#' + tls_id + '_show'] = btn.id; } // TODO: Find way to set the current icon using the iconloader if this is not default