C2019-025_Ability-to-Toggle-Replace-Words-2

This commit is contained in:
Paul Larsen 2025-01-29 14:21:14 -05:00
parent a04def360d
commit ca61597863
2 changed files with 2 additions and 4 deletions

View File

@ -63,13 +63,12 @@ namespace VEPROMS.CSLA.Library
int setting = sc.Step_ShwRplWdsIndex; int setting = sc.Step_ShwRplWdsIndex;
switch (setting) switch (setting)
{ {
case 3: case 2:
return false; return false;
break; break;
case 2: case 1:
return true; return true;
break; break;
case 1:
case 0: case 0:
//SectionConfig sc2 = _MyItemInfo.ActiveParent.MyConfig as SectionConfig; //SectionConfig sc2 = _MyItemInfo.ActiveParent.MyConfig as SectionConfig;
SectionConfig sc2 = _MyItemInfo.ActiveSection.MyConfig as SectionConfig; SectionConfig sc2 = _MyItemInfo.ActiveSection.MyConfig as SectionConfig;

View File

@ -198,7 +198,6 @@ namespace Volian.Controls.Library
this.cmbShwRplWds.FormattingEnabled = true; this.cmbShwRplWds.FormattingEnabled = true;
this.cmbShwRplWds.ItemHeight = 17; this.cmbShwRplWds.ItemHeight = 17;
this.cmbShwRplWds.Items.AddRange(new object[] { this.cmbShwRplWds.Items.AddRange(new object[] {
"",
"Inherit from Section", "Inherit from Section",
"Show replace words", "Show replace words",
"Do not show replace words"}); "Do not show replace words"});