Index: Core/Common/src/Core.Common.Controls.TreeView/TreeViewControl.cs =================================================================== diff -u -rc07c8243b6c74fa79a77f2edbc1799375064b057 -r9c811f0b982e9e29dc0652dfad928ff08ae75a3d --- Core/Common/src/Core.Common.Controls.TreeView/TreeViewControl.cs (.../TreeViewControl.cs) (revision c07c8243b6c74fa79a77f2edbc1799375064b057) +++ Core/Common/src/Core.Common.Controls.TreeView/TreeViewControl.cs (.../TreeViewControl.cs) (revision 9c811f0b982e9e29dc0652dfad928ff08ae75a3d) @@ -186,6 +186,13 @@ treeView.SelectedNode = GetNodeByTag(dataObject); } + public string GetPathForData(object dataObject) + { + var node = GetNodeByTag(dataObject); + + return node != null ? node.FullPath : ""; + } + /// /// This method searches all nodes in the tree view for a node with a matching tag. /// Index: Core/Common/src/Core.Common.Gui/RingtoetsGui.cs =================================================================== diff -u -rc07c8243b6c74fa79a77f2edbc1799375064b057 -r9c811f0b982e9e29dc0652dfad928ff08ae75a3d --- Core/Common/src/Core.Common.Gui/RingtoetsGui.cs (.../RingtoetsGui.cs) (revision c07c8243b6c74fa79a77f2edbc1799375064b057) +++ Core/Common/src/Core.Common.Gui/RingtoetsGui.cs (.../RingtoetsGui.cs) (revision 9c811f0b982e9e29dc0652dfad928ff08ae75a3d) @@ -393,11 +393,7 @@ return; } - var node = ProjectExplorer.TreeViewControl.GetNodeByTag(view.Data); - if (node != null) - { - DocumentViews.SetTooltip(view, node.FullPath); - } + DocumentViews.SetTooltip(view, ProjectExplorer.TreeViewControl.GetPathForData(view.Data)); } private void ConfigureLogging()