From 1e2b95b113242895a988d0db02e7a7fe1708a63d Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 12 Sep 2009 21:03:01 +0000 Subject: Forgot to assign the back/forward history menu item's tags resulting in incorrect navigation and menu item validation. --- Source/SPHistoryController.h | 2 +- Source/SPHistoryController.m | 4 ++-- Source/TableDocument.m | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Source') diff --git a/Source/SPHistoryController.h b/Source/SPHistoryController.h index 58f66352..524c19ae 100644 --- a/Source/SPHistoryController.h +++ b/Source/SPHistoryController.h @@ -52,7 +52,7 @@ enum sphistory_view_types // Interface interaction - (void) updateToolbarItem; -- (void)goBackwardInHistory; +- (void)goBackInHistory; - (void)goForwardInHistory; - (IBAction) historyControlClicked:(NSSegmentedControl *)theControl; - (unsigned int) currentlySelectedView; diff --git a/Source/SPHistoryController.m b/Source/SPHistoryController.m index e3fbb9cf..242fd572 100644 --- a/Source/SPHistoryController.m +++ b/Source/SPHistoryController.m @@ -106,7 +106,7 @@ /** * Go backward in the history. */ -- (void)goBackwardInHistory +- (void)goBackInHistory { if (historyPosition == NSNotFound || !historyPosition) return; @@ -133,7 +133,7 @@ { // Back button clicked: case 0: - [self goBackwardInHistory]; + [self goBackInHistory]; break; // Forward button clicked: diff --git a/Source/TableDocument.m b/Source/TableDocument.m index dbb4e2f7..01d73820 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -505,7 +505,7 @@ { // Go backward case 0: - [spHistoryControllerInstance goBackwardInHistory]; + [spHistoryControllerInstance goBackInHistory]; break; // Go forward case 1: -- cgit v1.2.3