A variable had not been properly renamed.
Somehow the call to add the MorphologicalAnalysis to the database had gone missing.
Removed a call to delete rows from Allomorph, since you don't know what other analyses those allomorphs might be a part of.
Fixed the layout setup functions so that empty analyses show the uninitialized layout.
Fixed some code that was deleting database rows where it was wrong to do so.
Comment clean-up.
Emit a signal so that when a morphological analysis has changed, the text is marked as having been changed.
Set the writing system of the grammatical information to the project meta language.
More intuitive initial values in CreateLexicalEntryDialog.
Link new allomorphs to existing lexical entries.
Better label for a button.