Revision: 15852
http://sourceforge.net/p/skim-app/code/15852
Author: hofman
Date: 2025-12-10 15:47:46 +0000 (Wed, 10 Dec 2025)
Log Message:
-----------
local variable
Modified Paths:
--------------
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2025-12-10 15:33:52 UTC (rev 15851)
+++ trunk/SKMainWindowController_UI.m 2025-12-10 15:47:46 UTC (rev 15852)
@@ -498,7 +498,8 @@
}
- (void)tableViewSelectionDidChange:(NSNotification *)aNotification {
- if ([[aNotification object]
isEqual:leftSideController.thumbnailTableView]) {
+ NSTableView *tv = [aNotification object];
+ if ([tv isEqual:leftSideController.thumbnailTableView]) {
if (mwcFlags.updatingThumbnailSelection == 0) {
NSInteger row = [leftSideController.thumbnailTableView
selectedRow];
if ([self interactionMode] == SKPresentationMode) {
@@ -512,7 +513,7 @@
[pdfView goToCurrentPage:[[pdfView document]
pageAtIndex:row]];
}
}
- } else if ([[aNotification object]
isEqual:rightSideController.snapshotTableView]) {
+ } else if ([tv isEqual:rightSideController.snapshotTableView]) {
NSInteger row = [[aNotification object] selectedRow];
if (row != -1) {
SKSnapshotWindowController *controller =
[[rightSideController.snapshotArrayController arrangedObjects]
objectAtIndex:row];
@@ -519,8 +520,8 @@
if ([[controller window] isVisible])
[[controller window] orderFront:self];
}
- } else if ([[aNotification object]
isEqual:leftSideController.findTableView] ||
- [[aNotification object]
isEqual:leftSideController.groupedFindTableView]) {
+ } else if ([tv isEqual:leftSideController.findTableView] ||
+ [tv isEqual:leftSideController.groupedFindTableView]) {
if (mwcFlags.updatingFindResults == 0)
[self selectFindResultHighlight:NSDirectSelection];
}
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