mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-21 18:00:43 +00:00
Fix for endless loop when changing platform windows.
This commit is contained in:
+1
-1
@@ -553,7 +553,7 @@ var CPViewFlags = { },
|
||||
/* @ignore */
|
||||
- (void)_setWindow:(CPWindow)aWindow
|
||||
{
|
||||
if (_window === aWindow)
|
||||
if (_window === aWindow || !aWindow)
|
||||
return;
|
||||
|
||||
[[self window] _dirtyKeyViewLoop];
|
||||
|
||||
Reference in New Issue
Block a user