mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Use the setting's default value when the global variant instance container is empty
Otherwise it will never show as a matching configuration in the configuration list.
This commit is contained in:
parent
b4d4a0e291
commit
5a95788493
1 changed files with 2 additions and 1 deletions
|
@ -201,7 +201,8 @@ class MachineManager(QObject):
|
|||
|
||||
# An empty build plate configuration from the network printer is presented as an empty string, so use "" for an
|
||||
# empty build plate.
|
||||
self._current_printer_configuration.buildplateConfiguration = self._global_container_stack.getProperty("machine_buildplate_type", "value") if self._global_container_stack.variant != empty_variant_container else ""
|
||||
self._current_printer_configuration.buildplateConfiguration = self._global_container_stack.getProperty("machine_buildplate_type", "value")\
|
||||
if self._global_container_stack.variant != empty_variant_container else self._global_container_stack.getProperty("machine_buildplate_type", "default_value")
|
||||
self.currentConfigurationChanged.emit()
|
||||
|
||||
@pyqtSlot(QObject, result = bool)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue