File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Src/Common/Controls/XMLViews Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -597,7 +597,7 @@ internal int ListItemsClass
597597 /// <returns>True if we can't prove the column is invalid</returns>
598598 internal bool IsValidColumnSpec ( XmlNode node )
599599 {
600- List < XmlNode > possibleColumns = ComputePossibleColumns ( ) ;
600+ return PossibleColumnSpecs . Contains ( node ) ;
601601 //// first, check to see if we can find some part or child node information
602602 //// to process. Eg. Custom field column nodes that refer to parts that no longer exist
603603 //// because the custom field has been removed so the parts cannot be generated
@@ -610,7 +610,7 @@ internal bool IsValidColumnSpec(XmlNode node)
610610 //bool badReversalIndex = CheckForBadReversalIndex(possibleColumns, node);
611611 //if (badReversalIndex)
612612 // return false;
613- return true ; // valid as far as we can tell.
613+ // return true; // valid as far as we can tell.
614614 }
615615
616616 /// <summary>
You can’t perform that action at this time.
0 commit comments