forked from organicmaps/organicmaps
[ios] Added close street editor on selection.
This commit is contained in:
parent
ad229f15de
commit
3b3676d7c4
1 changed files with 1 additions and 8 deletions
|
@ -91,15 +91,8 @@ namespace
|
|||
|
||||
- (void)selectCell:(UITableViewCell *)selectedCell
|
||||
{
|
||||
self.editedStreetName = @"";
|
||||
self.selectedStreet = [self.tableView indexPathForCell:selectedCell].row;
|
||||
for (UITableViewCell * cell in self.tableView.visibleCells)
|
||||
{
|
||||
if ([cell isEqual:selectedCell])
|
||||
continue;
|
||||
NSIndexPath * indexPath = [self.tableView indexPathForCell:cell];
|
||||
[self fillCell:cell indexPath:indexPath];
|
||||
}
|
||||
[self onDone];
|
||||
}
|
||||
|
||||
- (void)fillCell:(UITableViewCell *)cell indexPath:(NSIndexPath *)indexPath
|
||||
|
|
Loading…
Add table
Reference in a new issue