mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Add comment
CURA-8254
This commit is contained in:
parent
8157cedfef
commit
bdbac23fdf
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ class MaterialManagementModel(QObject):
|
|||
button_style = Message.ActionButtonStyle.LINK
|
||||
)
|
||||
sync_materials_message.actionTriggered.connect(self._onSyncMaterialsMessageActionTriggered)
|
||||
|
||||
# Show the message only if there are printers that support material export
|
||||
container_registry = cura.CuraApplication.CuraApplication.getInstance().getContainerRegistry()
|
||||
global_stacks = container_registry.findContainerStacks(type = "machine")
|
||||
if any([stack.supportsMaterialExport for stack in global_stacks]):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue