[QGIS-Developer] Disable scratch layer warning on closing project

Mathieu Pellerin nirvn.asia at gmail.com
Sat Sep 8 02:08:50 PDT 2018


Chris,

There is:

QgsSettings().value( QStringLiteral( "askToSaveMemoryLayers" ), true,
QgsSettings::App )

Switch that to false, that'll disable the warning.

I was wondering how long it'd take for the memory layer saver plugin to
switch that off ;)

On Sat, Sep 8, 2018, 13:15 Chris Crook <ccrook at linz.govt.nz> wrote:

> Hi
>
> 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 ....)
>
> Thanks
> Chris
>
> ________________________________
>
> 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 info at linz.govt.nz) 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.
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180908/d3e32928/attachment.html>


More information about the QGIS-Developer mailing list