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 Frith-MacDonald 1998-11-22 16:12:42 +00:00
parent c836138810
commit f18ffed561

View file

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