Fix projection selection with new files

This commit is contained in:
Nathan Woodrow 2013-06-04 13:51:33 +10:00
parent 98432099cc
commit 2552689058
2 changed files with 2 additions and 1 deletions

View File

@ -244,6 +244,7 @@ void QgsNewSpatialiteLayerDialog::on_pbnFindSRID_clicked()
QgsGenericProjectionSelector *mySelector = new QgsGenericProjectionSelector( this );
mySelector->setMessage();
mySelector->setOgcWmsCrsFilter( myCRSs );
mySelector->setSelectedCrsId( mCrsId );
if ( mySelector->exec() )
{

View File

@ -166,7 +166,7 @@ void QgsNewVectorLayerDialog::on_pbnChangeSpatialRefSys_clicked()
{
QgsGenericProjectionSelector *mySelector = new QgsGenericProjectionSelector( this );
mySelector->setMessage();
mySelector->setSelectedCrsId( pbnChangeSpatialRefSys->text().toInt() );
mySelector->setSelectedCrsId( mCrsId );
if ( mySelector->exec() )
{
QgsCoordinateReferenceSystem srs;