mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix of type in header
This commit is contained in:
parent
b0e3d71998
commit
256d2299e9
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user