Added check for null value in MyHeader property
This commit is contained in:
@@ -111,7 +111,7 @@ namespace Volian.Print.Library
|
||||
{
|
||||
if (vph is vlnHeader)
|
||||
{
|
||||
string sep = parent.MyItemInfo.MyHeader.CleanText;
|
||||
string sep = parent.MyItemInfo.MyHeader == null ? "" : parent.MyItemInfo.MyHeader.CleanText;
|
||||
vlnHeader tmp = vph as vlnHeader;
|
||||
// the separator must exist and the previous must have a change bar.
|
||||
|
||||
|
Reference in New Issue
Block a user