Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e5d5528b19 |
@@ -674,15 +674,12 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
using (Annotation annotation = CurrentAnnotation.Get())
|
using (Annotation annotation = CurrentAnnotation.Get())
|
||||||
{
|
{
|
||||||
if (annotation != null) // B2024-061 check for null reference
|
annotation.RtfText = rtxbComment.Rtf;
|
||||||
{
|
annotation.SearchText = rtxbComment.Text;
|
||||||
annotation.RtfText = rtxbComment.Rtf;
|
annotation.MyAnnotationType = annotationType;
|
||||||
annotation.SearchText = rtxbComment.Text;
|
annotation.DTS = DateTime.Now;
|
||||||
annotation.MyAnnotationType = annotationType;
|
annotation.UserID = Volian.Base.Library.VlnSettings.UserID;
|
||||||
annotation.DTS = DateTime.Now;
|
annotation.Save();
|
||||||
annotation.UserID = Volian.Base.Library.VlnSettings.UserID;
|
|
||||||
annotation.Save();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user