mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Added message when incompatbile material is selected
CURA-2271
This commit is contained in:
parent
ec587eb0dd
commit
2441275f29
1 changed files with 6 additions and 0 deletions
|
@ -531,6 +531,12 @@ class MachineManager(QObject):
|
|||
|
||||
containers[0].nameChanged.connect(self._onMaterialNameChanged)
|
||||
|
||||
if containers[0].getMetaDataEntry("compatible") == False:
|
||||
message = Message(catalog.i18nc("@info:status",
|
||||
"The selected material is imcompatible with the selected machine or configuration."))
|
||||
message.show()
|
||||
|
||||
|
||||
if old_quality:
|
||||
if old_quality_changes:
|
||||
new_quality = self._updateQualityChangesContainer(old_quality.getMetaDataEntry("quality_type"), old_quality_changes.getMetaDataEntry("name"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue