C2025-010_Ability-to-Toggle-Replace-Words-2 #501
@@ -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;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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"});
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user