mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 18:57:52 -06:00
Codestyle fixes
CL-894
This commit is contained in:
parent
01b9ba03d4
commit
d4aaa73928
3 changed files with 40 additions and 34 deletions
|
@ -33,6 +33,10 @@ class ExtruderConfigurationModel(QObject):
|
|||
def activeMaterial(self) -> MaterialOutputModel:
|
||||
return self._material
|
||||
|
||||
@pyqtProperty(QObject, fset=setMaterial, notify=extruderConfigurationChanged)
|
||||
def material(self) -> MaterialOutputModel:
|
||||
return self._material
|
||||
|
||||
def setHotendID(self, hotend_id: Optional[str]) -> None:
|
||||
if self._hotend_id != hotend_id:
|
||||
self._hotend_id = hotend_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue