Skip to content
Permalink
Browse files

Fix of type in header

  • Loading branch information
homann committed Sep 4, 2012
1 parent b0e3d71 commit 256d2299e909cccfbe6a78d1906c082edc065af9
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/app/qgsmeasuredialog.cpp
@@ -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 )
{

0 comments on commit 256d229

Please sign in to comment.
You can’t perform that action at this time.