Remove the former container view from its parent after an ungroup

operation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29306 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2010-01-17 10:42:55 +00:00
parent 1d8d80af92
commit 1923d95b45
3 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2010-01-17 Wolfgang Lux <wolfgang.lux@gmail.com>
* GormCore/GormViewWithContentViewEditor.m (-ungroup):
* GormCore/GormSplitViewEditor.m (-ungroup, -destroyAndListSubviews):
Remove the former container view from its parent after an ungroup
operation.
2010-01-14 06:46-EST Gregory John Casamento <greg.casamento@gmail.com>
* GormCore/GormDocumentWindow.m: Make window unable to become main.

View file

@ -349,6 +349,7 @@
inEditor: self
create: YES]];
}
[[contentView editedObject] removeFromSuperview];
[_EO adjustSubviews];
[self setNeedsDisplay: YES];
}
@ -379,6 +380,7 @@
}
[self close];
[document detachObject: self];
return newSelection;
}
@end

View file

@ -649,6 +649,7 @@ int _sortViews(id view1, id view2, void *context)
[contentView close];
[self selectObjects: newSelection];
[document detachObject: eo];
[eo removeFromSuperview];
}
}