From f58771379518189f126cebd663776b2aa57d770d Mon Sep 17 00:00:00 2001 From: Randall Luecke Date: Mon, 16 Aug 2010 14:55:44 -0500 Subject: [PATCH] This was terrible, real fix soon...Revert "Fix for endless loop when changing platform windows." This reverts commit 66fcba846bdb8c99a907a7f5d8a86fffcbaa371d. --- AppKit/CPView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index 76f3ad5ea..c153dda8a 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -553,7 +553,7 @@ var CPViewFlags = { }, /* @ignore */ - (void)_setWindow:(CPWindow)aWindow { - if (_window === aWindow || !aWindow) + if (_window === aWindow) return; [[self window] _dirtyKeyViewLoop];