Skip to content
Permalink
Browse files

Fix of type in header

  • Loading branch information
homann committed Aug 29, 2012
1 parent 8b74b9e commit c1decf7a18a546c5ef6c11e336edaa4a34c1a4be
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 c1decf7

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