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:
authorJeremie Laval <jeremie.laval@gmail.com>2013-03-12 17:48:39 +0400
committerJeremie Laval <jeremie.laval@gmail.com>2013-03-12 17:48:39 +0400
commitffc9bf8e51b7c935a55d811b421dccac6357bcf6 (patch)
tree2807f4e0722d0e90368e07ee39738639cbd75b73 /MyDocument.cs
parenta5654a9b1cbfd0c7f74d121541effd68f8b45333 (diff)
[macdoc] Update to use non-deprecated API
Diffstat (limited to 'MyDocument.cs')
-rw-r--r--MyDocument.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MyDocument.cs b/MyDocument.cs
index bc39c4f..81ea333 100644
--- a/MyDocument.cs
+++ b/MyDocument.cs
@@ -503,8 +503,8 @@ namespace macdoc
outlineView.ExpandItem (item);
// Focus the last child, then this child to ensure we show as much as possible
- if (n.Nodes.Count > 0)
- ScrollToVisible ((Node) n.Nodes [n.Nodes.Count-1]);
+ if (n.ChildNodes.Count > 0)
+ ScrollToVisible ((Node) n.ChildNodes [n.ChildNodes.Count-1]);
var row = ScrollToVisible (n);
ignoreSelect = true;
if (row > 0)