Skip to content

Commit

Permalink
Don't use exponential notation for wms extents display
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Jun 10, 2011
1 parent de66c87 commit c2cc95e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/qgsprojectproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,10 +509,10 @@ void QgsProjectProperties::restoreState()
void QgsProjectProperties::on_pbnWMSExtCanvas_clicked()
{
QgsRectangle ext = mMapCanvas->extent();
mWMSExtMinX->setText( QString::number( ext.xMinimum() ) );
mWMSExtMinY->setText( QString::number( ext.yMinimum() ) );
mWMSExtMaxX->setText( QString::number( ext.xMaximum() ) );
mWMSExtMaxY->setText( QString::number( ext.yMaximum() ) );
mWMSExtMinX->setText( QString::number( ext.xMinimum(), 'f', 8 ) );
mWMSExtMinY->setText( QString::number( ext.yMinimum(), 'f', 8 ) );
mWMSExtMaxX->setText( QString::number( ext.xMaximum(), 'f', 8 ) );
mWMSExtMaxY->setText( QString::number( ext.yMaximum(), 'f', 8 ) );
}

void QgsProjectProperties::on_pbnWMSAddSRS_clicked()
Expand Down

0 comments on commit c2cc95e

Please sign in to comment.