Added logic to allow TitleWithTextRight and TitleWithTextBelow to be available on the type list of the Search function when Searchable is set to True in the format file for these types. Note that the Title type (index 12) must also have Searchable set to True.
This commit is contained in:
@@ -223,6 +223,7 @@ namespace Volian.Controls.Library
|
||||
newnode.Name = sd.Type;
|
||||
DevComponents.AdvTree.Node pnode = NewAdvTreeNode(sd.Type, true, false); //create parent node (non selectable)
|
||||
pnode.Name = sd.Type;
|
||||
if (!sd.Type.Equals("Title")) // only use Title as a tree grouping to put Title with Text Right/Below substep types
|
||||
pnode.Nodes.Add(newnode);
|
||||
pnode.Nodes.Sort();
|
||||
advTreeStepTypes.Nodes.Add(pnode);
|
||||
@@ -240,7 +241,7 @@ namespace Volian.Controls.Library
|
||||
// Group by High Level Steps, Substeps, Cautions, Notes, Figures, Tables
|
||||
while (!parentName.Equals("Base") && !parentName.Equals("Substep") && !parentName.Equals("High") &&
|
||||
!parentName.Equals("Caution") && !parentName.Equals("Note") && !parentName.Equals("Table") &&
|
||||
!parentName.Equals("Figure"))
|
||||
!parentName.Equals("Figure") && !parentName.Equals("Title"))
|
||||
{
|
||||
StepData tmpsd = (StepData)parnode.Tag;
|
||||
parentName = tmpsd.ParentType;
|
||||
|
Reference in New Issue
Block a user