mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:59:00 +08:00
Don't look at available configurations when no slots are available
This commit is contained in:
parent
3578afd4ac
commit
d674494cdb
@ -1 +0,0 @@
|
||||
/Users/chris/Code/ChrisTerBeke/ThingiBrowser
|
@ -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…
x
Reference in New Issue
Block a user