File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -509,10 +509,10 @@ void QgsProjectProperties::restoreState()
509
509
void QgsProjectProperties::on_pbnWMSExtCanvas_clicked ()
510
510
{
511
511
QgsRectangle ext = mMapCanvas ->extent ();
512
- mWMSExtMinX ->setText ( QString::number ( ext.xMinimum () ) );
513
- mWMSExtMinY ->setText ( QString::number ( ext.yMinimum () ) );
514
- mWMSExtMaxX ->setText ( QString::number ( ext.xMaximum () ) );
515
- mWMSExtMaxY ->setText ( QString::number ( ext.yMaximum () ) );
512
+ mWMSExtMinX ->setText ( QString::number ( ext.xMinimum (), ' f ' , 8 ) );
513
+ mWMSExtMinY ->setText ( QString::number ( ext.yMinimum (), ' f ' , 8 ) );
514
+ mWMSExtMaxX ->setText ( QString::number ( ext.xMaximum (), ' f ' , 8 ) );
515
+ mWMSExtMaxY ->setText ( QString::number ( ext.yMaximum (), ' f ' , 8 ) );
516
516
}
517
517
518
518
void QgsProjectProperties::on_pbnWMSAddSRS_clicked ()
You can’t perform that action at this time.
0 commit comments