diff options
author | Alex Zolotarev <alex@maps.me> | 2016-04-25 18:28:54 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2016-04-25 18:28:54 +0300 |
commit | 1bbd6b31a79d79dd262b41c1a27197d27ab11528 (patch) | |
tree | 0c673e4e5eafa71197fd309143ad1c3ce10434da /qt | |
parent | c48d034f8b6e2c235a2dbd62357cddd317106b2c (diff) | |
parent | 0b0c3e615497213a5998cdeadec54bd339283077 (diff) |
Merge pull request #2983 from mgsergio/smart-poi-address-var2
[Editor] Get poi address from it's building.
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); |