Skip to content

Commit 2fdf8b6

Browse files
committed
'Tis the fix to be simple (TODO: test, unit test?)
Change-Id: I2a612b43398e519539f37c20955fb4875fe8ce15
1 parent 8e769fa commit 2fdf8b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/Common/Controls/XMLViews/XmlBrowseViewBaseVc.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)