fixes #6033 Structure Manager Not possible to delete a Text