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:
parent
8316bc6480
commit
f9fb97adf2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user