mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 23:29:01 +08:00
Fixed a merge problem.
CURA-3431 Not possible to export a profile
This commit is contained in:
parent
cae40da7aa
commit
807542cc1f
@ -856,10 +856,10 @@ class ContainerManager(QObject):
|
||||
return self._container_registry.importProfile(path)
|
||||
|
||||
@pyqtSlot("QVariantList", QUrl, str)
|
||||
def exportProfile(self, instance_id, file_url, file_type):
|
||||
def exportProfile(self, instance_id: str, file_url: QUrl, file_type: str) -> None:
|
||||
if not file_url.isValid():
|
||||
return
|
||||
path = file_url.toLocalFile()
|
||||
if not path:
|
||||
return
|
||||
self._container_registry.exportProfile(instance_id, path, file_type)
|
||||
self._container_registry.exportProfile(instance_id, path, file_type)
|
||||
|
Loading…
x
Reference in New Issue
Block a user