diff options
author | Max <dmoagx@users.noreply.github.com> | 2017-12-28 01:36:08 +0100 |
---|---|---|
committer | Max <dmoagx@users.noreply.github.com> | 2018-01-20 02:42:35 +0100 |
commit | d0bf2ec8a55bb64555d5d0bc77a770a938b68be7 (patch) | |
tree | 2e92f5059a72e2b7077f46b5788410272325423d /Source/SPFavoritesOutlineView.m | |
parent | b7830d694092ba3418b803448798f9b7d9687bde (diff) | |
download | sequelpro-d0bf2ec8a55bb64555d5d0bc77a770a938b68be7.tar.gz sequelpro-d0bf2ec8a55bb64555d5d0bc77a770a938b68be7.tar.bz2 sequelpro-d0bf2ec8a55bb64555d5d0bc77a770a938b68be7.zip |
merge SPConnectionController (part of #2789)
Diffstat (limited to 'Source/SPFavoritesOutlineView.m')
-rw-r--r-- | Source/SPFavoritesOutlineView.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPFavoritesOutlineView.m b/Source/SPFavoritesOutlineView.m index 8dbec5da..6a64cca1 100644 --- a/Source/SPFavoritesOutlineView.m +++ b/Source/SPFavoritesOutlineView.m @@ -29,7 +29,7 @@ // More info at <https://github.com/sequelpro/sequelpro> #import "SPFavoritesOutlineView.h" -#import "SPConnectionControllerDelegate.h" +#import "SPConnectionController.h" @interface SPFavoritesOutlineView () @@ -191,12 +191,12 @@ static NSUInteger SPFavoritesOutlineViewUnindent = 6; /** - * If the delegate is a SPConnectionControllerDelegate, and editing is currently in + * If the delegate is a SPConnectionController, and editing is currently in * progress, draw a custom highlight. */ - (void)highlightSelectionInClipRect:(NSRect)clipRect { - // Only proceed if a the delegate is a SPConnectionControllerDelegate and a favoruite being edited + // Only proceed if a the delegate is a SPConnectionController and a favorite being edited if ([[self delegate] isKindOfClass:[SPConnectionController class]] && [(SPConnectionController *)[self delegate] isEditingConnection] && [(SPConnectionController *)[self delegate] selectedFavorite]) |