Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MonodocDataSources.cs')
-rw-r--r--MonodocDataSources.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MonodocDataSources.cs b/MonodocDataSources.cs
index d3507ee..d5fc8ed 100644
--- a/MonodocDataSources.cs
+++ b/MonodocDataSources.cs
@@ -64,7 +64,7 @@ namespace macdoc
public override NSObject GetChild (NSOutlineView outlineView, int index, NSObject item)
{
WrapNode wrap;
- Node n = (Node) (item == null ? Root.RootNode : (Node) GetNode (item)).Nodes [index];
+ Node n = (Node) (item == null ? Root.RootNode : (Node) GetNode (item)).ChildNodes [index];
if (nodeToWrapper.ContainsKey (n))
return nodeToWrapper [n];
@@ -77,14 +77,14 @@ namespace macdoc
{
if (item == null)
return true;
- return GetNode (item).Nodes.Count > 0;
+ return GetNode (item).ChildNodes.Count > 0;
}
public override int GetChildrenCount (NSOutlineView outlineView, NSObject item)
{
if (item == null)
- return Root.RootNode.Nodes.Count;
- return GetNode (item).Nodes.Count;
+ return Root.RootNode.ChildNodes.Count;
+ return GetNode (item).ChildNodes.Count;
}
public override NSObject GetObjectValue (NSOutlineView outlineView, NSTableColumn tableColumn, NSObject item)