Topic: To avoid crash: Unlink before deleting an element !
For at least the recent few svn versions of QET:
For both folio references and master-slave, QET crash when saving if I do not unlink the elements before deleting them.
See some of my bugs posted lately.
I also experienced QET crash when i clicked a xref link pointing to a deleted element.