Added check for null value in MyHeader property
This commit is contained in:
parent
3c7c853d00
commit
ead8f91a2b
@ -111,7 +111,7 @@ namespace Volian.Print.Library
|
|||||||
{
|
{
|
||||||
if (vph is vlnHeader)
|
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;
|
vlnHeader tmp = vph as vlnHeader;
|
||||||
// the separator must exist and the previous must have a change bar.
|
// the separator must exist and the previous must have a change bar.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user