aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r--Source/TableDocument.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index b8527698..14af042e 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -3242,8 +3242,8 @@
[mainToolbar setSelectedItemIdentifier:SPMainToolbarCustomQuery];
[spHistoryControllerInstance updateHistoryEntries];
- // Set the focus on the text field if no query has been run
- if (![[customQueryTextView string] length]) [tableWindow makeFirstResponder:customQueryTextView];
+ // Set the focus on the text field
+ [tableWindow makeFirstResponder:customQueryTextView];
[prefs setInteger:SPQueryEditorViewMode forKey:SPLastViewMode];
}