From 466714c84753d819374b9d5010859682294e2842 Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Tue, 15 Feb 2011 21:48:00 +0000 Subject: [PATCH] Bug fix to last commit. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32177 72102866-910b-0410-8b05-ffd578937521 --- Source/NSWindow.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/NSWindow.m b/Source/NSWindow.m index ef374114f..9047783c2 100644 --- a/Source/NSWindow.m +++ b/Source/NSWindow.m @@ -1166,7 +1166,10 @@ many times. } _contentView = aView; - [_wv setContentView: _contentView]; + if (_contentView != nil) + { + [_wv setContentView: _contentView]; + } } /*