From a118c43922ee26f705cf42a4b7d03fea27dfdd64 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sun, 25 Apr 2010 18:57:57 +0000 Subject: [PATCH] reload table on customActivtyText change --- CocoaTouch/src/BTDiscoveryViewController.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CocoaTouch/src/BTDiscoveryViewController.m b/CocoaTouch/src/BTDiscoveryViewController.m index 43bd4e7c1..fcf119137 100644 --- a/CocoaTouch/src/BTDiscoveryViewController.m +++ b/CocoaTouch/src/BTDiscoveryViewController.m @@ -159,6 +159,13 @@ [self reload]; } +-(void) setCustomActivityText:(NSString*) text{ + [text retain]; + [customActivityText release]; + customActivityText = text; + [self reload]; +} + #pragma mark Table view methods - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section{