This commit is contained in:
2008-08-12 11:48:04 +00:00
parent 5bedb853c5
commit 992d727d3c
3 changed files with 4 additions and 1 deletions

View File

@@ -217,7 +217,7 @@ namespace Volian.Controls.Library
private void UpdateAnnotationGrid()
{
_LoadingGrid = true;
_Annotations = _CurrentItem.ItemAnnotations;
_Annotations = (_CurrentItem == null) ? null : _CurrentItem.ItemAnnotations;
itemAnnotationsBindingSource.DataSource = _Annotations;
if ((CurrentAnnotation == null || (_CurrentItem.ItemID != CurrentAnnotation.ItemID)))
{