Please sign in to comment.
Store vector layer wkb type in xml
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.
- Loading branch information
Showing with 53 additions and 3 deletions.
|@@ -1,2 +1,3 @@|
|# The following has been generated automatically from src/core/geometry/qgswkbtypes.h|
|QgsWkbTypes.Type.baseClass = QgsWkbTypes|
|QgsWkbTypes.GeometryType.baseClass = QgsWkbTypes|