forked from organicmaps/organicmaps
[ios] Fixed indexPath retrieval.
This commit is contained in:
parent
0efe070d0e
commit
13dba8a289
1 changed files with 1 additions and 1 deletions
|
@ -911,7 +911,7 @@ void registerCellsForTableView(vector<MWMPlacePageCellType> const & cells, UITab
|
|||
- (void)cell:(MWMTableViewCell *)cell changedText:(NSString *)changeText
|
||||
{
|
||||
NSAssert(changeText != nil, @"String can't be nil!");
|
||||
NSIndexPath * indexPath = [self.tableView indexPathForCell:cell];
|
||||
NSIndexPath * indexPath = [self.tableView indexPathForRowAtPoint:cell.center];
|
||||
MWMPlacePageCellType const cellType = [self cellTypeForIndexPath:indexPath];
|
||||
string const val = changeText.UTF8String;
|
||||
switch (cellType)
|
||||
|
|
Loading…
Add table
Reference in a new issue