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 5b99561 commit 49e9286
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 @@ -508,10 +508,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 49e9286

Please sign in to comment.