[ios] Always display feature's category in editor.

This commit is contained in:
VladiMihaylenko 2016-04-14 15:28:33 +03:00
parent a39136faf2
commit 5613a250f4

View file

@ -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);