diff options
author | rowanbeentje <rowan@beent.je> | 2011-01-16 20:36:27 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-01-16 20:36:27 +0000 |
commit | 735706ae233348a072a6fcaee806e7c5def9477e (patch) | |
tree | b856b606cbc10d93f36535f7a784d0d95fef5102 /Frameworks | |
parent | 8a00deb294d6dac6a0d1541700b4ca71cdd49bc9 (diff) | |
download | sequelpro-735706ae233348a072a6fcaee806e7c5def9477e.tar.gz sequelpro-735706ae233348a072a6fcaee806e7c5def9477e.tar.bz2 sequelpro-735706ae233348a072a6fcaee806e7c5def9477e.zip |
- Change window change notifications from key change notifications to main change notifications - fixes issues with tab bars showing incorrect colours when displaying sheets
Diffstat (limited to 'Frameworks')
-rw-r--r-- | Frameworks/PSMTabBar/PSMTabBarControl.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Frameworks/PSMTabBar/PSMTabBarControl.m b/Frameworks/PSMTabBar/PSMTabBarControl.m index a9268a78..8debd774 100644 --- a/Frameworks/PSMTabBar/PSMTabBarControl.m +++ b/Frameworks/PSMTabBar/PSMTabBarControl.m @@ -265,8 +265,8 @@ } if (aWindow) { - [center addObserver:self selector:@selector(windowStatusDidChange:) name:NSWindowDidBecomeKeyNotification object:aWindow]; - [center addObserver:self selector:@selector(windowStatusDidChange:) name:NSWindowDidResignKeyNotification object:aWindow]; + [center addObserver:self selector:@selector(windowStatusDidChange:) name:NSWindowDidBecomeMainNotification object:aWindow]; + [center addObserver:self selector:@selector(windowStatusDidChange:) name:NSWindowDidResignMainNotification object:aWindow]; [center addObserver:self selector:@selector(windowDidUpdate:) name:NSWindowDidUpdateNotification object:aWindow]; [center addObserver:self selector:@selector(windowDidMove:) name:NSWindowDidMoveNotification object:aWindow]; } |