diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPPreferenceController.h | 4 | ||||
-rw-r--r-- | Source/SPPreferenceController.m | 3 | ||||
-rw-r--r-- | Source/SPQueryFavoriteManager.m | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/Source/SPPreferenceController.h b/Source/SPPreferenceController.h index 029993d9..9a6b3101 100644 --- a/Source/SPPreferenceController.h +++ b/Source/SPPreferenceController.h @@ -27,7 +27,7 @@ #import "SPConstants.h" -@class SPKeychain; +@class BWAnchoredButtonBar, SPKeychain; @interface SPPreferenceController : NSWindowController { @@ -62,6 +62,8 @@ IBOutlet NSTextField *editorFontName; IBOutlet NSTextField *globalResultTableFontName; + + IBOutlet BWAnchoredButtonBar *splitViewButtonBar; SPKeychain *keychain; NSDictionary *currentFavorite; diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m index aae63224..bdb3ff5e 100644 --- a/Source/SPPreferenceController.m +++ b/Source/SPPreferenceController.m @@ -91,6 +91,9 @@ // Hide the tabs on the favorites tab view - left visible in IB for easy use [favoritesTabView setTabViewType:NSNoTabsNoBorder]; + + // Set the button bar delegate + [splitViewButtonBar setSplitViewDelegate:self]; [self updateDefaultFavoritePopup]; diff --git a/Source/SPQueryFavoriteManager.m b/Source/SPQueryFavoriteManager.m index 9d30e597..2202bfd8 100644 --- a/Source/SPQueryFavoriteManager.m +++ b/Source/SPQueryFavoriteManager.m @@ -129,7 +129,7 @@ // Set Remove button state [removeButton setEnabled:([favoritesTableView numberOfSelectedRows] > 0)]; - // Set the button delegate + // Set the button bar delegate [splitViewButtonBar setSplitViewDelegate:self]; } |