Bugfix - ignore reassignment of same view.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3294 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1998-11-22 16:12:42 +00:00
parent 8af3a77d5a
commit 19661c597f

View file

@ -44,6 +44,8 @@
- (void)setDocumentView:(NSView*)aView
{
if (_documentView == aView)
return;
if (_documentView)
[_documentView removeFromSuperview];