diff options
Diffstat (limited to 'Source/SPHistoryController.m')
-rw-r--r-- | Source/SPHistoryController.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/SPHistoryController.m b/Source/SPHistoryController.m index dd302969..2fbf18b5 100644 --- a/Source/SPHistoryController.m +++ b/Source/SPHistoryController.m @@ -156,6 +156,7 @@ NSUInteger theView = NSNotFound; NSString *viewName = [[[theDocument valueForKey:@"tableTabView"] selectedTabViewItem] identifier]; + if ([viewName isEqualToString:@"source"]) { theView = SPHistoryViewStructure; } else if ([viewName isEqualToString:@"content"]) { @@ -167,6 +168,9 @@ } else if ([viewName isEqualToString:@"relations"]) { theView = SPHistoryViewRelations; } + else if ([viewName isEqualToString:@"triggers"]) { + theView = SPHistoryViewTriggers; + } return theView; } @@ -375,6 +379,9 @@ case SPHistoryViewRelations: [theDocument viewRelations:self]; break; + case SPTriggersViewMode: + [theDocument viewTriggers:self]; + break; } if ([self currentlySelectedView] != [[historyEntry objectForKey:@"view"] integerValue]) { return [self abortEntryLoadWithPool:loadPool]; |