[Qgis-developer] QgsProject.instance().isDirty()
Martin Dobias
wonder.sk at gmail.com
Thu Sep 1 16:53:59 EDT 2011
On Tue, Aug 30, 2011 at 3:49 PM, Bob English <bobengl at gmail.com> wrote:
> Hi All,
>
> In a custom PyQgis app I am developing, I open a project file, the layers
> get loaded. I add another layer to the project. The map layer registry
> count of layers increases by one, but the QgsProject.instance().isDirty()
> method still returns False. Am I missing something here??
That sounds like a bug to me. However, trying with master branch I get
the correct behavior - after adding a layer the project gets dirty as
expected.
Martin
More information about the Qgis-developer
mailing list