aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableInfo.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableInfo.m')
-rw-r--r--Source/SPTableInfo.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPTableInfo.m b/Source/SPTableInfo.m
index e1ce3e4d..8268662b 100644
--- a/Source/SPTableInfo.m
+++ b/Source/SPTableInfo.m
@@ -390,11 +390,11 @@
if (![tableInfoScrollView isHidden]) {
[tableDocumentInstance setActivityPaneHidden:@0];
- [[NSApp mainWindow] makeFirstResponder:activitiesTable];
+ [[activitiesTable window] makeFirstResponder:activitiesTable];
}
else {
[tableDocumentInstance setActivityPaneHidden:@1];
- [[NSApp mainWindow] makeFirstResponder:infoTable];
+ [[infoTable window] makeFirstResponder:infoTable];
}
[infoTable deselectAll:nil];