[ui] Graph: Add clearSelectedNodesData method

Convenient function to directly work on the current node selection.
This commit is contained in:
Yann Lanthony 2024-12-06 10:14:50 +01:00
parent 8dbcfa392f
commit cdfa6186b1
2 changed files with 10 additions and 7 deletions

View file

@ -815,7 +815,7 @@ Item {
if (deleteFollowing)
uigraph.clearDataFrom(uigraph.selectedNodes);
else
uigraph.clearData(uigraph.selectedNodes);
uigraph.clearSelectedNodesData();
dataDeleted();
}
onClosed: destroy()