Skip to content

Commit

Permalink
Fix of type in header
Browse files Browse the repository at this point in the history
  • Loading branch information
homann committed Sep 4, 2012
1 parent b0e3d71 commit 256d229
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/qgsmeasuredialog.cpp
Expand Up @@ -278,7 +278,10 @@ void QgsMeasureDialog::updateUi()
editTotal->setToolTip( toolTip );
mTable->setToolTip( toolTip );

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

if ( mMeasureArea )
{
Expand Down

0 comments on commit 256d229

Please sign in to comment.