diff --git a/editor/js/main.js b/editor/js/main.js index 0e58ed040..4d057af2e 100644 --- a/editor/js/main.js +++ b/editor/js/main.js @@ -104,10 +104,8 @@ msg.text = node._(msg.text.toString(),{defaultValue:msg.text.toString()}); } node.status = msg; - if (statusEnabled) { - node.dirty = true; - RED.view.redraw(); - } + node.dirty = true; + RED.view.redraw(); } }); RED.comms.subscribe("node/#",function(topic,msg) { @@ -179,12 +177,6 @@ }); } - var statusEnabled = false; - function toggleStatus(state) { - statusEnabled = state; - RED.view.status(statusEnabled); - } - function loadEditor() { var menuOptions = []; menuOptions.push({id:"menu-item-view-menu",label:RED._("menu.label.view.view"),options:[