Fixed crash on double click of usage list item
Fix missing end message if continuous section.
This commit is contained in:
@@ -61,7 +61,16 @@ namespace Volian.Print.Library
|
||||
{
|
||||
if (yLocation < yTopMargin) // continuous section
|
||||
{
|
||||
if (ChildrenBelow == null || ChildrenBelow.Count == 0) return 0;
|
||||
if (ChildrenBelow == null || ChildrenBelow.Count == 0)
|
||||
{
|
||||
// see if there is an end message. This is stored in the helper - if there is,
|
||||
// we need to be sure that there is room for it.
|
||||
if (MyPageHelper.BottomMessage != null)
|
||||
{
|
||||
if (mySize + yEndMsg <= yWithinMargins) return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
vlnParagraph firstChild = ChildrenBelow[0];
|
||||
|
||||
// This is a continuous section. There may be cases where the user put a manual page
|
||||
|
Reference in New Issue
Block a user