Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect project CRS when loading project (fix #16149)
This commit fixes a situation where loading a project results in incorrect project & canvas CRS. The bug is trigerred whenever something in the project load calls a processEvents() call, eg restoring a project with layer count enabled on a layer or with a composer html item. When this occurs, the "auto-set CRS to first added layer" code would kick in early and replace the project's CRS with that of the first layer loaded. To avoid this disable the "auto-set CRS" code when loading layers from a project.
- Loading branch information