From 7bdd7a0a30db584c1818b34cca18ad5269b57268 Mon Sep 17 00:00:00 2001 From: Abhi Beckert Date: Sun, 5 Jun 2016 11:08:24 +1000 Subject: #2434 remove title bar line hiding view --- Source/SPWindowControllerDelegate.m | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Source') 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 - -- cgit v1.2.3