diff --git a/Mirivoice/Views/SingleLineEditorView.axaml.cs b/Mirivoice/Views/SingleLineEditorView.axaml.cs index 41e7d79..30c3899 100644 --- a/Mirivoice/Views/SingleLineEditorView.axaml.cs +++ b/Mirivoice/Views/SingleLineEditorView.axaml.cs @@ -29,7 +29,11 @@ public SingleLineEditorView(LineBoxView l, bool FirstUpdate = true) private async void LineTextChanging(object sender, TextChangingEventArgs e) { - + if (l is null) + { + Log.Warning("LineBoxView is null."); + return; + } l.DeActivatePhonemizer = false; if (FirstUpdate) {