Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Views/IllustrationPointsFaultTreeControl.cs =================================================================== diff -u -r1f42c50a516ae7e3504982c15df0ceb0f80bbc7d -rd7706775b2e3f09e8a2a7f965668cc9595ec3fa8 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Views/IllustrationPointsFaultTreeControl.cs (.../IllustrationPointsFaultTreeControl.cs) (revision 1f42c50a516ae7e3504982c15df0ceb0f80bbc7d) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Views/IllustrationPointsFaultTreeControl.cs (.../IllustrationPointsFaultTreeControl.cs) (revision d7706775b2e3f09e8a2a7f965668cc9595ec3fa8) @@ -73,11 +73,7 @@ { get { - GraphNode selectedGraphNode = pointedTreeGraphControl.Selection; - - return drawnNodes.Where(l => l.GraphNode == selectedGraphNode) - .Select(l => l.IllustrationPointNode) - .FirstOrDefault(); + return drawnNodes.FirstOrDefault(d => d.GraphNode == pointedTreeGraphControl.Selection)?.IllustrationPointNode; } }