mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Undo subflow rename not reflected in palette
This commit is contained in:
parent
3967e23828
commit
e26ea14104
@ -193,6 +193,7 @@ RED.history = (function() {
|
||||
}
|
||||
RED.view.dirty(ev.dirty);
|
||||
RED.view.redraw();
|
||||
RED.palette.refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -28,6 +28,7 @@ RED.editor = (function() {
|
||||
* @returns {boolean} whether the node is valid. Sets node.dirty if needed
|
||||
*/
|
||||
function validateNode(node) {
|
||||
if (node._def) {
|
||||
var oldValue = node.valid;
|
||||
node.valid = validateNodeProperties(node, node._def.defaults, node);
|
||||
if (node._def._creds) {
|
||||
@ -37,6 +38,7 @@ RED.editor = (function() {
|
||||
node.dirty = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate a node's properties for the given set of property definitions
|
||||
|
Loading…
Reference in New Issue
Block a user