[ui] Update Delete data label according to selected nodes

This commit is contained in:
Candice Bentéjac 2024-08-01 14:53:43 +02:00
parent 82dd2a1f31
commit 16e951bad8

View file

@ -673,7 +673,7 @@ Item {
modal: false
header.visible: false
text: "Delete Data of '" + node.label + (deleteFollowing ? "' and following Nodes?" : "'?")
text: "Delete Data of '" + node.label + "'" + (uigraph.selectedNodes.count > 1 ? " and other selected Nodes" : "") + (deleteFollowing ? " and following Nodes?" : "?")
helperText: "Warning: This operation cannot be undone."
standardButtons: Dialog.Yes | Dialog.Cancel