Compare commits

..

No commits in common. "218a2c17a2bf2cbb9762ff775d68af3292b7fcfc" and "bf5337cf63fb19ad1c22bc1e51e3878f95c81f61" have entirely different histories.

View File

@ -673,8 +673,6 @@ namespace Volian.Controls.Library
else else
{ {
using (Annotation annotation = CurrentAnnotation.Get()) using (Annotation annotation = CurrentAnnotation.Get())
{
if (annotation != null) // B2024-061 check for null reference
{ {
annotation.RtfText = rtxbComment.Rtf; annotation.RtfText = rtxbComment.Rtf;
annotation.SearchText = rtxbComment.Text; annotation.SearchText = rtxbComment.Text;
@ -685,7 +683,6 @@ namespace Volian.Controls.Library
} }
} }
} }
}
AnnotationDirty = false; AnnotationDirty = false;
UpdateAnnotationGrid(); UpdateAnnotationGrid();
AnnotationTypeInfoList.Reset(); // B2018-135: refresh annotation type list to update when annotations are used. AnnotationTypeInfoList.Reset(); // B2018-135: refresh annotation type list to update when annotations are used.