mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
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.
This commit is contained in:
parent
e5dc90a519
commit
038db1fc4f
3 changed files with 21 additions and 13 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue