Skip to content

Commit

Permalink
Merge pull request #2229 from Dogild/WindowCloseFirstResponder
Browse files Browse the repository at this point in the history
Fixed: CPWindow keeps a reference of its firstResponder when closing a window
  • Loading branch information
primalmotion committed Oct 23, 2014
2 parents 0bbada2 + fcd2b77 commit 2e3c658
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AppKit/CPWindow/CPWindow.j
Expand Up @@ -981,6 +981,7 @@ CPTexturedBackgroundWindowMask
[_platformWindow order:CPWindowOut window:self relativeTo:nil];
#endif

[self makeFirstResponder:nil];
[self _updateMainAndKeyWindows];
}

Expand Down

0 comments on commit 2e3c658

Please sign in to comment.