Commit 14a344e2 authored by Pierre SAGASPE's avatar Pierre SAGASPE Committed by Felix Paul Kühne

fix target selector on swipe right gesture on the tableview cell

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
(cherry picked from commit b9c80ed69452a82006b2f4d9456d369e4bae605a)
parent 57601945
......@@ -704,8 +704,8 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
else {
[self setEditing:YES animated:YES];
NSIndexPath *path = [_tableView indexPathForRowAtPoint:[recognizer locationInView:self.view]];
[_tableView selectRowAtIndexPath:[NSIndexPath indexPathForRow:path.row inSection:path.section]
NSIndexPath *path = [self.tableView indexPathForRowAtPoint:[recognizer locationInView:self.tableView]];
[self.tableView selectRowAtIndexPath:[NSIndexPath indexPathForRow:path.row inSection:path.section]
animated:YES
scrollPosition:UITableViewScrollPositionNone];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment