diff --git a/PBWebHistoryController.m b/PBWebHistoryController.m index 21dd55a..af661eb 100644 --- a/PBWebHistoryController.m +++ b/PBWebHistoryController.m @@ -158,15 +158,15 @@ contextMenuItemsForElement:(NSDictionary *)element return [historyController valueForKeyPath:[@"repository.config." stringByAppendingString:config]]; } -// - (void) finalize -// { -// [historyController removeObserver:self forKeyPath:@"webCommit"]; -// [super finalize]; -// } +- (void) finalize +{ + [historyController removeObserver:self forKeyPath:@"webCommit"]; + [super finalize]; +} - (void) preferencesChanged { - [[self script] callWebScriptMethod:@"enableFeatures" withArguments:nil]; + [[self script] callWebScriptMethod:@"enableFeatures" withArguments:nil]; } @end