Revision: 5088
http://skim-app.svn.sourceforge.net/skim-app/?rev=5088&view=rev
Author: hofman
Date: 2008-12-23 13:44:35 +0000 (Tue, 23 Dec 2008)
Log Message:
-----------
avoid code duplication
Modified Paths:
--------------
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2008-12-23 12:57:27 UTC (rev 5087)
+++ trunk/SKMainWindowController_UI.m 2008-12-23 13:44:35 UTC (rev 5088)
@@ -301,16 +301,11 @@
#pragma mark NSTableView delegate protocol
- (void)tableViewSelectionDidChange:(NSNotification *)aNotification {
- if ([[aNotification object] isEqual:findTableView]) {
+ if ([[aNotification object] isEqual:findTableView] || [[aNotification
object] isEqual:groupedFindTableView]) {
[self updateFindResultHighlights:YES];
if ([self isPresentation] && [[NSUserDefaults standardUserDefaults]
boolForKey:SKAutoHidePresentationContentsKey])
[self hideLeftSideWindow];
- } else if ([[aNotification object] isEqual:groupedFindTableView]) {
- [self updateFindResultHighlights:YES];
-
- if ([self isPresentation] && [[NSUserDefaults standardUserDefaults]
boolForKey:SKAutoHidePresentationContentsKey])
- [self hideLeftSideWindow];
} else if ([[aNotification object] isEqual:thumbnailTableView]) {
if (updatingThumbnailSelection == NO) {
int row = [thumbnailTableView selectedRow];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit