[desktop] Show geometry type in context menu.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako
2025-09-20 14:17:17 -03:00
committed by x7z4w
parent d23d153aef
commit 45616db65c

View File

@@ -339,7 +339,8 @@ void MapWidget::ShowInfoPopup(QMouseEvent * e, m2::PointD const & pt)
auto types = feature::TypesHolder(ft); auto types = feature::TypesHolder(ft);
types.SortBySpec(); types.SortBySpec();
for (auto const & type : types.ToObjectNames()) for (auto const & type : types.ToObjectNames())
concat += type + " "; concat = concat + type + " ";
concat = concat + "| " + DebugPrint(ft.GetGeomType());
addStringFn(concat); addStringFn(concat);
// Name // Name