Corrected logic to determine if an End message should print.
This commit is contained in:
1 parent
dd2d97ceb7
commit
a5547f0165
2 files changed
+6
-3
No files matched your search
@@ -1079,7 +1079,9 @@ namespace Volian.Print.Library
|
||||
DocStyle docstyle = MyItemInfo.MyDocStyle;
|
||||
// if the EndForSingle format flag is set to false, then we do not print an End message if the section
|
||||
// is a single column section.
|
||||
bool _skipEndMessage = MyPageHelper.MySection.SectionConfig.Section_ColumnMode == SectionConfig.SectionColumnMode.One && !MyItemInfo.ActiveFormat.MyStepSectionLayoutData.EndForSingle;
|
||||
//bool _skipEndMessage = MyPageHelper.MySection.SectionConfig.Section_ColumnMode == SectionConfig.SectionColumnMode.One && !MyItemInfo.ActiveFormat.MyStepSectionLayoutData.EndForSingle;
|
||||
SectionInfo si = MyItemInfo.MyActiveSection as SectionInfo;
|
||||
bool _skipEndMessage = si.SectionConfig.Section_ColumnMode == SectionConfig.SectionColumnMode.One && !MyItemInfo.ActiveFormat.MyStepSectionLayoutData.EndForSingle;
|
||||
string myMsg = (docstyle.End == null) ? null : docstyle.End.FixedMessage;
|
||||
if (myMsg != null && !_skipEndMessage)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user