mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-26 16:35:52 +00:00
Merge pull request #1796 from ahankinson/fix-issue1685
Fixes #1685: CPToolbar calls incorrect notification method
This commit is contained in:
commit
2c10671fe4
1 file changed
+1
-1
+1
-1
@@ -230,7 +230,7 @@ var CPToolbarsByIdentifier = nil,
|
||||
- (void)_setWindow:(CPWindow)aWindow
|
||||
{
|
||||
if (_window)
|
||||
[[CPNotificationCenter defaultCenter] removeObserver:self object:_window];
|
||||
[[CPNotificationCenter defaultCenter] removeObserver:self name:_CPWindowDidChangeFirstResponderNotification object:_window];
|
||||
|
||||
_window = aWindow;
|
||||
|
||||
|
||||
Reference in new issue
Block a user