Changeset 23979
- Timestamp:
- 06/14/2008 03:18:46 PM (6 months ago)
- Files:
-
- trunk/Source/AIStandardListWindowController.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/AIStandardListWindowController.m
r23627 r23979 817 817 #pragma mark Filtering 818 818 /*! 819 * @brief Toggles the find bar on and off819 * @brief Toggles the find bar on, or brings it into focus if it is already visible 820 820 */ 821 821 - (void)toggleFindPanel:(id)sender; 822 822 { 823 823 if (filterBarIsVisible) { 824 [self hideFilterBarWithAnimation:YES]; 824 [[self window] makeFirstResponder:searchField]; 825 825 826 } else if ([contactListView numberOfRows] > 0) { 826 827 [self showFilterBarWithAnimation:YES]; 828 829 } else { 830 NSBeep(); 827 831 } 828 832 }