We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent bf1e587 commit 78417ebCopy full SHA for 78417eb
src/gui/qgsprojectionselector.cpp
@@ -296,6 +296,7 @@ void QgsProjectionSelector::applyCRSNameSelection()
296
297
QString QgsProjectionSelector::getCrsIdName( long theCrsId )
298
{
299
+ QString retvalue("");
300
if (
301
( mProjListDone ) &&
302
( mUserProjListDone )
@@ -307,10 +308,14 @@ QString QgsProjectionSelector::getCrsIdName( long theCrsId )
307
308
309
if ( nodes.count() > 0 )
310
- return nodes.first()->text(0);
311
+ retvalue = nodes.first()->text(NAME_COLUMN);
312
+ if (nodes.first()->text(EPSG_COLUMN) != "" )
313
+ {
314
+ retvalue += QString(" (EPSG : %1)").arg(nodes.first()->text(EPSG_COLUMN));
315
+ }
316
}
317
- return QString( "" );
318
+ return retvalue;
319
320
321
0 commit comments