Added a check for an empty string
This commit is contained in:
parent
597c5b6ace
commit
abcedb6c0f
@ -405,7 +405,7 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
// Add Config Data
|
// Add Config Data
|
||||||
AnnotationInfo ai = FirstExeAnnotation(CurrentItem);
|
AnnotationInfo ai = FirstExeAnnotation(CurrentItem);
|
||||||
if (ai != null)
|
if (ai != null && ai.Config.Length > 0)
|
||||||
{
|
{
|
||||||
XmlDocument xdConfig = new XmlDocument();
|
XmlDocument xdConfig = new XmlDocument();
|
||||||
xdConfig.LoadXml(ai.Config);
|
xdConfig.LoadXml(ai.Config);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user