project_files/HedgewarsMobile/Classes/HoldTableViewCell.m
changeset 6115 485cfecadc9a
parent 4976 088d40d8aba2
child 6700 e04da46ee43c
--- a/project_files/HedgewarsMobile/Classes/HoldTableViewCell.m	Sun Oct 09 20:03:04 2011 -0400
+++ b/project_files/HedgewarsMobile/Classes/HoldTableViewCell.m	Mon Oct 10 02:50:01 2011 +0200
@@ -58,8 +58,8 @@
 }
 
 -(void) holdAction {
-    if (self.delegate != nil && [self.delegate respondsToSelector:@selector(holdAction:)])
-        [self.delegate holdAction:self.textLabel.text];
+    if (self.delegate != nil && [self.delegate respondsToSelector:@selector(holdAction:onTable:)])
+        [self.delegate holdAction:self.textLabel.text onTable:(UITableView *)self.superview];
 }
 
 -(void) dealloc {