diff options
author | Abhi Beckert <me@abhibeckert.com> | 2016-06-05 11:08:24 +1000 |
---|---|---|
committer | Abhi Beckert <me@abhibeckert.com> | 2016-06-05 11:08:24 +1000 |
commit | 7bdd7a0a30db584c1818b34cca18ad5269b57268 (patch) | |
tree | 47d37dc9a825a5ca1f81400559b2e8cda13ef6c5 | |
parent | ddc5c78b81b455a415bf5af3660e924f047c37c1 (diff) | |
download | sequelpro-7bdd7a0a30db584c1818b34cca18ad5269b57268.tar.gz sequelpro-7bdd7a0a30db584c1818b34cca18ad5269b57268.tar.bz2 sequelpro-7bdd7a0a30db584c1818b34cca18ad5269b57268.zip |
#2434 remove title bar line hiding view
-rw-r--r-- | Source/SPWindowControllerDelegate.m | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/SPWindowControllerDelegate.m b/Source/SPWindowControllerDelegate.m index 3e94cebf..79b1e2f1 100644 --- a/Source/SPWindowControllerDelegate.m +++ b/Source/SPWindowControllerDelegate.m @@ -40,7 +40,6 @@ @interface SPWindowController (SPDeclaredAPI) - (void)_updateProgressIndicatorForItem:(NSTabViewItem *)theItem; -- (void)_updateLineHidingViewState; - (void)_switchOutSelectedTableDocument:(SPDatabaseDocument *)newDoc; @end @@ -128,14 +127,10 @@ */ - (void)windowDidBecomeMain:(NSNotification *)notification { - [self _updateLineHidingViewState]; + } - (void)windowDidResignMain:(NSNotification *)notification { - [self _updateLineHidingViewState]; - - // Update the state again after a short delay to catch attached sheets being main - [self performSelector:@selector(_updateLineHidingViewState) withObject:nil afterDelay:0.1]; } /** @@ -157,7 +152,6 @@ - (void)windowWillEnterFullScreen:(NSNotification *)notification { [selectedTableDocument updateTitlebarStatusVisibilityForcingHide:YES]; - [self _updateLineHidingViewState]; } /** @@ -166,7 +160,6 @@ - (void)windowDidExitFullScreen:(NSNotification *)notification { [selectedTableDocument updateTitlebarStatusVisibilityForcingHide:NO]; - [self _updateLineHidingViewState]; } #pragma mark - |