Enable arbitrary street name in featrue address in QT version.

This commit is contained in:
Sergey Magidovich 2016-04-14 11:16:02 +03:00
parent d9dc872a2a
commit 0d5a2c4033

View file

@ -87,6 +87,7 @@ EditorDialog::EditorDialog(QWidget * parent, osm::EditableMapObject & emo)
nearbyStreets.insert(nearbyStreets.begin(), {});
grid->addWidget(new QLabel(kStreetObjectName), row, 0);
QComboBox * cmb = new QComboBox();
cmb->setEditable(true);
for (int i = 0; i < nearbyStreets.size(); ++i)
{
string street = nearbyStreets[i].m_defaultName;