Skip to content

Commit c1decf7

Browse files
committedAug 29, 2012
Fix of type in header
1 parent 8b74b9e commit c1decf7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎src/app/qgsmeasuredialog.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,10 @@ void QgsMeasureDialog::updateUi()
278278
editTotal->setToolTip( toolTip );
279279
mTable->setToolTip( toolTip );
280280

281-
mTable->setHeaderLabels( QStringList( tr( "Segments [%1]" ).arg( QGis::tr( mDisplayUnits ) ) ) );
281+
QGis::UnitType newDisplayUnits;
282+
double dummy = 1.0;
283+
convertMeasurement( dummy, newDisplayUnits, true );
284+
mTable->setHeaderLabels( QStringList( tr( "Segments [%1]" ).arg( QGis::tr( newDisplayUnits ) ) ) );
282285

283286
if ( mMeasureArea )
284287
{

0 commit comments

Comments
 (0)
Please sign in to comment.