mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Don't look at available configurations when no slots are available
This commit is contained in:
parent
3578afd4ac
commit
d674494cdb
2 changed files with 1 additions and 2 deletions
|
@ -80,7 +80,7 @@ class ClusterPrinterStatus(BaseModel):
|
|||
model.setCameraUrl(QUrl("http://{}:8080/?action=stream".format(self.ip_address)))
|
||||
|
||||
# Set the possible configurations based on whether a Material Station is present or not.
|
||||
if self.material_station is not None:
|
||||
if self.material_station is not None and len(self.material_station.material_slots):
|
||||
self._updateAvailableConfigurations(model)
|
||||
if self.configuration is not None:
|
||||
self._updateActiveConfiguration(model)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue