Skip to content

Commit

Permalink
Fix projection selection with new files
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Jun 4, 2013
1 parent 9843209 commit 2552689
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/qgsnewspatialitelayerdialog.cpp
Expand Up @@ -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() )
{
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsnewvectorlayerdialog.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 2552689

Please sign in to comment.