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 8ce6d28 commit f6692cbCopy full SHA for f6692cb
src/app/qgisapp.cpp
@@ -10887,6 +10887,9 @@ bool QgisApp::checkUnsavedLayerEdits()
10887
10888
bool QgisApp::checkMemoryLayers()
10889
{
10890
+ if ( !QgsSettings().value( QStringLiteral( "askToSaveMemoryLayers" ), true, QgsSettings::App ).toBool() )
10891
+ return true;
10892
+
10893
// check to see if there are any memory layers present (with features)
10894
bool hasMemoryLayers = false;
10895
const QMap<QString, QgsMapLayer *> layers = QgsProject::instance()->mapLayers();
0 commit comments