diff options
author | rowanbeentje <rowan@beent.je> | 2010-05-22 12:21:54 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-05-22 12:21:54 +0000 |
commit | 76633d986085d3b9d05f73db8d51aefdf1f68dfb (patch) | |
tree | e36758acc38f519560b1fe0b1b0c476b03b27d46 /Source/TableDocument.m | |
parent | bd78aaeadb8dfd0eb83a896727e6376109c12e22 (diff) | |
download | sequelpro-76633d986085d3b9d05f73db8d51aefdf1f68dfb.tar.gz sequelpro-76633d986085d3b9d05f73db8d51aefdf1f68dfb.tar.bz2 sequelpro-76633d986085d3b9d05f73db8d51aefdf1f68dfb.zip |
- Fix an issue when truncating tables using the right-click menu, by improving the truncation reload code and by removing a problem in TableContent tracking the active table name. This addresses Issue #700 and a number of crash reports.
- Rename SPHistoryView* constants to SPTableView* constants and use them more widely rather than hard-coded tab indexes
- Fix a problem preventing history navigation if a triggers view was the previous item in the history
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r-- | Source/TableDocument.m | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 1b5d3a1f..385e9781 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -2987,22 +2987,22 @@ [session setObject:[tableContentInstance sortColumnName] forKey:@"contentSortCol"]; switch([spHistoryControllerInstance currentlySelectedView]){ - case SPHistoryViewStructure: + case SPTableViewStructure: aString = @"SP_VIEW_STRUCTURE"; break; - case SPHistoryViewContent: + case SPTableViewContent: aString = @"SP_VIEW_CONTENT"; break; - case SPHistoryViewCustomQuery: + case SPTableViewCustomQuery: aString = @"SP_VIEW_CUSTOMQUERY"; break; - case SPHistoryViewStatus: + case SPTableViewStatus: aString = @"SP_VIEW_STATUS"; break; - case SPHistoryViewRelations: + case SPTableViewRelations: aString = @"SP_VIEW_RELATIONS"; break; - case SPHistoryViewTriggers: + case SPTableViewTriggers: aString = @"SP_VIEW_TRIGGERS"; break; default: |