We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dc1a61 commit 85a7d5cCopy full SHA for 85a7d5c
src/app/qgisapp.cpp
@@ -10973,6 +10973,9 @@ bool QgisApp::checkUnsavedLayerEdits()
10973
10974
bool QgisApp::checkMemoryLayers()
10975
{
10976
+ if ( !QgsSettings().value( QStringLiteral( "askToSaveMemoryLayers" ), true, QgsSettings::App ).toBool() )
10977
+ return true;
10978
+
10979
// check to see if there are any memory layers present (with features)
10980
bool hasMemoryLayers = false;
10981
const QMap<QString, QgsMapLayer *> layers = QgsProject::instance()->mapLayers();
0 commit comments