mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Ensure that extruder configurations are correctly sorted
CL-894
This commit is contained in:
parent
03a7833180
commit
6a08b63f21
4 changed files with 18 additions and 12 deletions
|
@ -11,9 +11,9 @@ class ExtruderConfigurationModel(QObject):
|
|||
|
||||
extruderConfigurationChanged = pyqtSignal()
|
||||
|
||||
def __init__(self):
|
||||
def __init__(self, position: int = -1):
|
||||
super().__init__()
|
||||
self._position = -1 # type: int
|
||||
self._position = position # type: int
|
||||
self._material = None # type: Optional[MaterialOutputModel]
|
||||
self._hotend_id = None # type: Optional[str]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue