forked from organicmaps/organicmaps
[ios] Always display feature's category in editor.
This commit is contained in:
parent
a39136faf2
commit
5613a250f4
1 changed files with 4 additions and 6 deletions
|
@ -254,12 +254,10 @@ void registerCellsForTableView(vector<MWMPlacePageCellType> const & cells, UITab
|
|||
self.offscreenCells = [NSMutableDictionary dictionary];
|
||||
self.invalidCells = [NSMutableArray array];
|
||||
|
||||
if (self.isCreating)
|
||||
{
|
||||
m_sections.push_back(MWMEditorSectionCategory);
|
||||
m_cells[MWMEditorSectionCategory] = kSectionCategoryCellTypes;
|
||||
registerCellsForTableView(kSectionCategoryCellTypes, self.tableView);
|
||||
}
|
||||
m_sections.push_back(MWMEditorSectionCategory);
|
||||
m_cells[MWMEditorSectionCategory] = kSectionCategoryCellTypes;
|
||||
registerCellsForTableView(kSectionCategoryCellTypes, self.tableView);
|
||||
|
||||
if (m_mapObject.IsNameEditable())
|
||||
{
|
||||
m_sections.push_back(MWMEditorSectionName);
|
||||
|
|
Loading…
Add table
Reference in a new issue