Annotataion Search Results bug fix

This commit is contained in:
John Jenko 2009-09-11 18:47:36 +00:00
parent 8cd80b3832
commit aa119cfcce

View File

@ -265,7 +265,7 @@ namespace Volian.Controls.Library
}
}
dgAnnotations.Rows[row].Selected = true;
if (!_LoadingGrid)
if (!_LoadingGrid && (dgAnnotations.FirstDisplayedScrollingRowIndex != -1))
dgAnnotations.FirstDisplayedScrollingRowIndex = row;
}
}