aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r--Source/CustomQuery.m10
1 files changed, 2 insertions, 8 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 755b980f..2289b561 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -1534,19 +1534,13 @@ traps enter key and
switch([helpNavigator selectedSegment])
{
case SP_HELP_GOBACK_BUTTON:
- if([[helpWebView backForwardList] backListCount]) {
- [self showHelpFor:[[[[helpWebView backForwardList] backItem] URLString] lastPathComponent] addToHistory:NO];
- [[helpWebView backForwardList] goBack];
- }
+ [helpWebView goBack];
break;
case SP_HELP_SHOW_TOC_BUTTON:
[self showHelpFor:SP_HELP_TOC_SEARCH_STRING addToHistory:YES];
break;
case SP_HELP_GOFORWARD_BUTTON:
- if([[helpWebView backForwardList] forwardListCount]) {
- [self showHelpFor:[[[[helpWebView backForwardList] forwardItem] URLString] lastPathComponent] addToHistory:NO];
- [[helpWebView backForwardList] goForward];
- }
+ [helpWebView goForward];
break;
}
// validate goback and goforward buttons according history