aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-09-12 21:03:01 +0000
committerstuconnolly <stuart02@gmail.com>2009-09-12 21:03:01 +0000
commit1e2b95b113242895a988d0db02e7a7fe1708a63d (patch)
tree01a9ac3b03c7abcd58e2eb0410356ca54f0a1729 /Source
parentf4bede9def108d8fd25334871ca00971687c4e51 (diff)
downloadsequelpro-1e2b95b113242895a988d0db02e7a7fe1708a63d.tar.gz
sequelpro-1e2b95b113242895a988d0db02e7a7fe1708a63d.tar.bz2
sequelpro-1e2b95b113242895a988d0db02e7a7fe1708a63d.zip
Forgot to assign the back/forward history menu item's tags resulting in incorrect navigation and menu item validation.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPHistoryController.h2
-rw-r--r--Source/SPHistoryController.m4
-rw-r--r--Source/TableDocument.m2
3 files changed, 4 insertions, 4 deletions
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: