diff options
author | rowanbeentje <rowan@beent.je> | 2012-04-02 00:23:52 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-04-02 00:23:52 +0000 |
commit | 09ed4be7e668dc10e0c4ca9178f8e1c414997b57 (patch) | |
tree | be27a884f60f33fe2eb6cabd1270983900d2ebe4 /Source/SPWindowController.m | |
parent | 389b86985d977f81f840112249da5e3e278921e2 (diff) | |
download | sequelpro-09ed4be7e668dc10e0c4ca9178f8e1c414997b57.tar.gz sequelpro-09ed4be7e668dc10e0c4ca9178f8e1c414997b57.tar.bz2 sequelpro-09ed4be7e668dc10e0c4ca9178f8e1c414997b57.zip |
PSMTabBar improvements:
- Add a new -destroyAnimations method to the tab bar and call it when tearing down the parent SPWindowController; this prevents animations redrawing the document after window close, fixing a number of crashes.
- Improve the logic for collapsing and uncollapsing the tab bar as tabs are added and removed, fixing height calculation errors leading to Issue #1082
- Improve tab bar draw when animating in the Sequel Pro tab style
Diffstat (limited to 'Source/SPWindowController.m')
-rw-r--r-- | Source/SPWindowController.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPWindowController.m b/Source/SPWindowController.m index ed538312..7e461177 100644 --- a/Source/SPWindowController.m +++ b/Source/SPWindowController.m @@ -101,6 +101,9 @@ enum { { [[NSNotificationCenter defaultCenter] removeObserver:self]; + // Tear down the animations on the tab bar to stop redraws + [tabBar destroyAnimations]; + [managedDatabaseConnections release]; [super dealloc]; |