From 038db1fc4f9522dd79da4b7073db3b615e6a7f19 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 6 Oct 2021 15:20:26 +0200 Subject: Implement functionality of export to USB button It now creates a similar dialogue of what the old button did. The dialogue is no longer necessary in the materials page, so I've moved it to here specifically. Contributes to issue CURA-8609. --- cura/Machines/Models/MaterialManagementModel.py | 1 + 1 file changed, 1 insertion(+) (limited to 'cura/Machines') diff --git a/cura/Machines/Models/MaterialManagementModel.py b/cura/Machines/Models/MaterialManagementModel.py index fda687c3ef..d5191988fa 100644 --- a/cura/Machines/Models/MaterialManagementModel.py +++ b/cura/Machines/Models/MaterialManagementModel.py @@ -332,6 +332,7 @@ class MaterialManagementModel(QObject): self._sync_all_dialog = cura.CuraApplication.CuraApplication.getInstance().createQmlComponent(qml_path, {}) if self._sync_all_dialog is None: # Failed to load QML file. return + self._sync_all_dialog.setProperty("materialManagementModel", self) self._sync_all_dialog.setProperty("pageIndex", 0) self._sync_all_dialog.show() -- cgit v1.2.3