Chris, <div><br></div><div>There is:</div><div><br></div><div>QgsSettings().value( QStringLiteral( "askToSaveMemoryLayers" ), true, QgsSettings::App )</div><div><br></div><div>Switch that to false, that'll disable the warning.</div><div><br></div><div>I was wondering how long it'd take for the memory layer saver plugin to switch that off ;)<br><br><div class="gmail_quote"><div dir="ltr">On Sat, Sep 8, 2018, 13:15 Chris Crook <<a href="mailto:ccrook@linz.govt.nz">ccrook@linz.govt.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
Is there a setting anywhere to disable the warning when closing a project with temporary layers (This layer contains one or more temporary scratch layers.  These layers are not saved to disk ....)<br>
<br>
Thanks<br>
Chris<br>
<br>
________________________________<br>
<br>
This message contains information, which may be in confidence and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify us immediately (Phone 0800 665 463 or <a href="mailto:info@linz.govt.nz" target="_blank">info@linz.govt.nz</a>) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You.<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div></div>