diff options
author | Ghostkeeper <rubend@tutanota.com> | 2021-10-06 16:20:26 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2021-10-06 16:20:26 +0300 |
commit | 038db1fc4f9522dd79da4b7073db3b615e6a7f19 (patch) | |
tree | 593456db3437c7d578919721e8bac2a486240580 /cura/Machines | |
parent | e5dc90a51917818dc57d0efd944af804ebd395be (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.py | 1 |
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() |