mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
We can use this when restoring the layer, if the uri turns out to be invalid at that stage (e.g. a file has moved). By storing and falling back to the last known wkb type, we avoid unnecessarily discarding the existing layer renderer, and can still show the expected layer type in the layer tree.