Nyall Dawson 60afeadf44 Add QgsProjectDirtyBlocker and QgsProject.blockDirtying to prevent
project dirtying for the lifetime of an object

Python code can then call:

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

Use QgsProjectDirtyBlocker to prevent projects being marked as
dirty while creating a new project or while loading an existing
project -- avoids the titlebar temporarily showing the project
state as unsaved while it is being loaded.
2018-03-11 08:44:51 +11:00
..
2018-01-17 10:16:37 -04:00
2018-02-12 11:29:41 -04:00
2018-02-12 20:28:32 +10:00
2018-02-20 11:31:33 +10:00
2018-02-25 08:22:14 +10:00
2018-02-15 09:25:26 +01:00
2018-01-23 15:30:01 +11:00
2018-03-05 12:06:50 +11:00
2018-01-17 10:16:37 -04:00
2017-06-28 10:45:51 +02:00