mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 21:42:32 +00:00
Comment
This commit is contained in:
@@ -133,6 +133,10 @@
|
|||||||
}
|
}
|
||||||
BOOL isFistGroup = [document.root.groups count] == 0;
|
BOOL isFistGroup = [document.root.groups count] == 0;
|
||||||
[document createGroup:group];
|
[document createGroup:group];
|
||||||
|
/*
|
||||||
|
TODO: Find out if a lower hierachy node was the first child
|
||||||
|
and auto-expand that item too
|
||||||
|
*/
|
||||||
if(isFistGroup) {
|
if(isFistGroup) {
|
||||||
NSTreeNode *node = [_outlineView itemAtRow:0];
|
NSTreeNode *node = [_outlineView itemAtRow:0];
|
||||||
[_outlineView expandItem:node expandChildren:NO];
|
[_outlineView expandItem:node expandChildren:NO];
|
||||||
|
|||||||
Reference in New Issue
Block a user