1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Undo subflow rename not updating corresponding tab/menu labels

This commit is contained in:
Nick O'Leary 2015-09-23 17:00:37 +01:00
parent 8316bc6480
commit f9fb97adf2

View File

@ -188,7 +188,12 @@ RED.history = (function() {
RED.editor.updateNodeProperties(n);
});
if (ev.node.type === 'subflow') {
$("#menu-item-workspace-menu-"+ev.node.id.replace(".","-")).text(ev.node.name);
}
RED.palette.refresh();
RED.workspaces.refresh();
} else {
RED.editor.updateNodeProperties(ev.node);
RED.editor.validateNode(ev.node);