Commit 87b69503 authored by Claudio Valerio's avatar Claudio Valerio

removed extension .wgs and .swf when showing the name on UBFeature widget

parent d6df46fe
......@@ -1457,6 +1457,8 @@ QString UBFeaturesItemDelegate::displayText ( const QVariant & value, const QLoc
QString text = value.toString();
text = text.replace(".wgt", "");
text = text.replace(".wgs", "");
text = text.replace(".swf","");
if (listView)
{
const QFontMetrics fm = listView->fontMetrics();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment