summaryrefslogtreecommitdiff
path: root/UICaboodle/BrowserView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'UICaboodle/BrowserView.mm')
-rw-r--r--UICaboodle/BrowserView.mm8
1 files changed, 6 insertions, 2 deletions
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm
index ee8563f..1615795 100644
--- a/UICaboodle/BrowserView.mm
+++ b/UICaboodle/BrowserView.mm
@@ -1075,6 +1075,10 @@ static Class $UIWebBrowserView;
return [customItem autorelease];
}
+- (UIBarButtonItem *) rightButton {
+ return reloaditem_;
+}
+
- (void) applyLoadingTitle {
[[self navigationItem] setTitle:UCLocalize("LOADING")];
}
@@ -1087,7 +1091,7 @@ static Class $UIWebBrowserView;
} else if (button_) {
[[self navigationItem] setRightBarButtonItem:[self customButton] animated:YES];
} else {
- [[self navigationItem] setRightBarButtonItem:reloaditem_ animated:YES];
+ [[self navigationItem] setRightBarButtonItem:[self rightButton] animated:YES];
}
}
@@ -1615,4 +1619,4 @@ static Class $UIWebBrowserView;
return 980;
}
-@end \ No newline at end of file
+@end