Class: ProjectDirtyBlocker

class qgis.core.ProjectDirtyBlocker(project)

Bases: object

Context manager used to block project setDirty calls.

project = QgsProject.instance()
with QgsProject.blockDirtying(project):
    # do something

New in version 3.2: Enums

Methods

Signals

Attributes