This commit is contained in:
2013-05-09 12:23:53 +00:00
parent 060baa1cf2
commit 8984f3bcd4
9 changed files with 75 additions and 23 deletions

View File

@@ -738,9 +738,13 @@ namespace VEPROMS.CSLA.Library
{
get
{
// if null - return a "Y"
// westinghouse's single column was not indented, so added a flag for them
// so that default is "N". all other plants should default to "Y"
string auto = "Y";
if ((_Section != null && _Section.MySectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.DefaultNoSubAutoIndent)
|| (_SectionInfo != null && _SectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.DefaultNoSubAutoIndent)) auto = "N";
string tmp = _Xp["SubSection", "AutoIndent"];
return tmp==null||tmp==""?"N":tmp;
return tmp == null || tmp == "" ? auto : tmp;
}
set
{