C2018-003 corrected use of MyActiveSection vs ActiveSection and added NULL checks
This commit is contained in:
@@ -2817,7 +2817,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
|
||||
// see if enhanced related steps need created:
|
||||
SectionConfig scfgE = _LastItemInfo.MyActiveSection.MyConfig as SectionConfig;
|
||||
SectionConfig scfgE = _LastItemInfo.ActiveSection.MyConfig as SectionConfig; // C2018-003 fixed use of getting the active section
|
||||
if (scfgE != null && scfgE.Section_LnkEnh=="Y")
|
||||
{
|
||||
// set up which item to insert from based on whether editor was open (see comment from 11/17 above).
|
||||
|
Reference in New Issue
Block a user