Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2021-10-06 16:20:26 +0300
committerGhostkeeper <rubend@tutanota.com>2021-10-06 16:20:26 +0300
commit038db1fc4f9522dd79da4b7073db3b615e6a7f19 (patch)
tree593456db3437c7d578919721e8bac2a486240580 /cura/Machines
parente5dc90a51917818dc57d0efd944af804ebd395be (diff)
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.
Diffstat (limited to 'cura/Machines')
-rw-r--r--cura/Machines/Models/MaterialManagementModel.py1
1 files changed, 1 insertions, 0 deletions
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()