diff options
Diffstat (limited to 'Source/SPUserManager.m')
-rw-r--r-- | Source/SPUserManager.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m index 40ec31e4..0a362395 100644 --- a/Source/SPUserManager.m +++ b/Source/SPUserManager.m @@ -226,6 +226,7 @@ } // Reload data of the outline view with the changes. [outlineView reloadData]; + [treeController rearrangeObjects]; } /** @@ -375,6 +376,12 @@ } } +- (NSArray *)treeSortDescriptors +{ + NSSortDescriptor *descriptor = [[NSSortDescriptor alloc] initWithKey:@"displayName" ascending:YES]; + return [NSArray arrayWithObject:descriptor]; +} + #pragma mark - #pragma mark General IBAction methods |