We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fec833f commit 3bcf890Copy full SHA for 3bcf890
src/app/qgscustomprojectiondialog.cpp
@@ -168,6 +168,9 @@ bool QgsCustomProjectionDialog::deleteCRS( QString id )
168
QgsDebugMsg( QString( "failed to remove CRS from database in custom projection dialog: %1 [%2]" ).arg( mySql ).arg( sqlite3_errmsg( myDatabase ) ) );
169
}
170
sqlite3_close( myDatabase );
171
+
172
+ QgsCRSCache::instance()->updateCRSCache( QString( "USER:%1" ).arg( id ) );
173
174
return myResult == SQLITE_OK;
175
176
src/core/qgscrscache.cpp
@@ -106,6 +106,11 @@ void QgsCRSCache::updateCRSCache( const QString& authid )
106
{
107
mCRS.insert( authid, s );
108
109
+ else
110
+ {
111
+ mCRS.remove( authid );
112
+ }
113
114
QgsCoordinateTransformCache::instance()->invalidateCrs( authid );
115
116
0 commit comments