null reference fix
This commit is contained in:
parent
c6372a3f46
commit
3a57cafc16
@ -609,7 +609,7 @@ namespace Volian.Controls.Library
|
|||||||
if (!_LoadingList)
|
if (!_LoadingList)
|
||||||
{
|
{
|
||||||
_ItemInfo = lbSrchResults.SelectedValue as ItemInfo;
|
_ItemInfo = lbSrchResults.SelectedValue as ItemInfo;
|
||||||
if ((tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[1]))
|
if ((tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[1]) && (_ItemInfo != null))
|
||||||
{
|
{
|
||||||
_AnnotationDetails.CurrentAnnotation = AnnotationInfo.Get(_ItemInfo.SearchAnnotationID);
|
_AnnotationDetails.CurrentAnnotation = AnnotationInfo.Get(_ItemInfo.SearchAnnotationID);
|
||||||
if (_AnnotationDetails.CurrentAnnotation != null)
|
if (_AnnotationDetails.CurrentAnnotation != null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user