Enable RED.view.select to select group by id

This commit is contained in:
Nick O'Leary
2023-05-22 16:51:17 +01:00
parent ce6a4845f2
commit 90e32f52c9
2 changed files with 8 additions and 1 deletions

View File

@@ -274,7 +274,7 @@ var RED = (function() {
if (nodeToShow) {
RED.view.reveal(nodeToShow.id)
window.location.hash = currentHash
RED.view.select({ nodes: [nodeToShow] })
RED.view.select(nodeToShow.id)
if (showEditDialog) {
RED.editor.editGroup(nodeToShow)
}