diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/menu.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/menu.js index 3e16ef9d3..131dc1f13 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/menu.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/menu.js @@ -224,9 +224,9 @@ RED.menu = (function() { if (!alreadySet && opt.onselect) { triggerAction(opt.id,state); } - } - if (!opt.local && !alreadySet) { - RED.settings.set(opt.setting||("menu-"+opt.id), state); + if (!opt.local && !alreadySet) { + RED.settings.set(opt.setting||("menu-"+opt.id), state); + } } }