don't crash on reparent with empty selection
reparent
with an empty/invalid selection would emit a warning if len(selected) == 0
, but then continue and crash at child := selected[len(selected)-1]
.
reparent
with an empty/invalid selection would emit a warning if len(selected) == 0
, but then continue and crash at child := selected[len(selected)-1]
.