diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-04-25 13:12:21 +0300 |
---|---|---|
committer | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-04-25 18:01:44 +0300 |
commit | 0b0c3e615497213a5998cdeadec54bd339283077 (patch) | |
tree | fb4f123413290e95339e0a5d870d11af1e60fefa /qt | |
parent | 11e169efc98d5fd393122df1ce34ed26b77aa949 (diff) |
Get poi address from it's building.
Don't merge to osm if a poi doesn't have it's one different address.
Diffstat (limited to 'qt')
-rw-r--r-- | qt/editor_dialog.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/qt/editor_dialog.cpp b/qt/editor_dialog.cpp index 1e5c775a8f..7e105b9fba 100644 --- a/qt/editor_dialog.cpp +++ b/qt/editor_dialog.cpp @@ -82,9 +82,6 @@ EditorDialog::EditorDialog(QWidget * parent, osm::EditableMapObject & emo) if (emo.IsAddressEditable()) { // Address rows. auto nearbyStreets = emo.GetNearbyStreets(); - // If feature does not have a specified street, display empty combo box. - if (emo.GetStreet().m_defaultName.empty()) - nearbyStreets.insert(nearbyStreets.begin(), {}); grid->addWidget(new QLabel(kStreetObjectName), row, 0); QComboBox * cmb = new QComboBox(); cmb->setEditable(true); |