mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 11:03:13 +08:00
Fix setting container type of subclasses
This mistake caused all of the container types to end up as either None or the actual instance itself, which was causing crashes. Contributes to issue CURA-6096.
This commit is contained in:
parent
adac0af1ec
commit
057ba8cdeb
@ -19,4 +19,4 @@ class IntentDatabaseHandler(DatabaseMetadataContainerController):
|
|||||||
"version": "text",
|
"version": "text",
|
||||||
"setting_version": "text"
|
"setting_version": "text"
|
||||||
}))
|
}))
|
||||||
self.container_type = InstanceContainer
|
self._container_type = InstanceContainer
|
||||||
|
@ -19,7 +19,7 @@ class QualityDatabaseHandler(DatabaseMetadataContainerController):
|
|||||||
"version": "text",
|
"version": "text",
|
||||||
"setting_version": "text"
|
"setting_version": "text"
|
||||||
}))
|
}))
|
||||||
self.container_type = InstanceContainer
|
self._container_type = InstanceContainer
|
||||||
|
|
||||||
def groomMetadata(self, metadata: metadata_type) -> metadata_type:
|
def groomMetadata(self, metadata: metadata_type) -> metadata_type:
|
||||||
"""
|
"""
|
||||||
|
@ -16,4 +16,4 @@ class VariantDatabaseHandler(DatabaseMetadataContainerController):
|
|||||||
"version": "text",
|
"version": "text",
|
||||||
"setting_version": "text"
|
"setting_version": "text"
|
||||||
}))
|
}))
|
||||||
self.container_type = InstanceContainer
|
self._container_type = InstanceContainer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user