Added a check for an empty string

This commit is contained in:
John Jenko 2016-04-07 14:09:45 +00:00
parent 597c5b6ace
commit abcedb6c0f

View File

@ -405,7 +405,7 @@ namespace Volian.Controls.Library
}
// Add Config Data
AnnotationInfo ai = FirstExeAnnotation(CurrentItem);
if (ai != null)
if (ai != null && ai.Config.Length > 0)
{
XmlDocument xdConfig = new XmlDocument();
xdConfig.LoadXml(ai.Config);