diff options
author | Jeremie Laval <jeremie.laval@gmail.com> | 2013-03-12 17:48:39 +0400 |
---|---|---|
committer | Jeremie Laval <jeremie.laval@gmail.com> | 2013-03-12 17:48:39 +0400 |
commit | ffc9bf8e51b7c935a55d811b421dccac6357bcf6 (patch) | |
tree | 2807f4e0722d0e90368e07ee39738639cbd75b73 /MyDocument.cs | |
parent | a5654a9b1cbfd0c7f74d121541effd68f8b45333 (diff) |
[macdoc] Update to use non-deprecated API
Diffstat (limited to 'MyDocument.cs')
-rw-r--r-- | MyDocument.cs | 4 |
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) |