Fixed logic when ParaBreak is null

Fixed logic when PDF is open
This commit is contained in:
Rich
2015-03-09 13:13:45 +00:00
parent 66044a2a71
commit c65d3e8cdf
2 changed files with 2 additions and 2 deletions

View File

@@ -949,7 +949,7 @@ namespace Volian.Print.Library
}
}
}
if (paraBreak.PageBreakReason == null)
if (paraBreak != null && paraBreak.PageBreakReason == null)
paraBreak.PageBreakReason = "Rest of Step fits at 6 LPI";
ProfileTimer.Pop(profileDepth);
}