mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Remove catch of RuntimeError
The error is no longer thrown and the function has its own error message. Contributes to issue CURA-5045.
This commit is contained in:
parent
dd3b49e80d
commit
4f56221126
1 changed files with 1 additions and 6 deletions
|
@ -101,12 +101,7 @@ class QualitySettingsModel(ListModel):
|
||||||
else:
|
else:
|
||||||
quality_changes_node = quality_changes_group.nodes_for_extruders.get(str(self._selected_position))
|
quality_changes_node = quality_changes_group.nodes_for_extruders.get(str(self._selected_position))
|
||||||
if quality_changes_node is not None and quality_changes_node.getContainer() is not None: # it can be None if number of extruders are changed during runtime
|
if quality_changes_node is not None and quality_changes_node.getContainer() is not None: # it can be None if number of extruders are changed during runtime
|
||||||
try:
|
quality_containers.insert(0, quality_changes_node.getContainer())
|
||||||
quality_containers.insert(0, quality_changes_node.getContainer())
|
|
||||||
except RuntimeError:
|
|
||||||
# FIXME: This is to prevent incomplete update of QualityManager
|
|
||||||
Logger.logException("d", "Failed to get container for quality changes node %s", quality_changes_node)
|
|
||||||
return
|
|
||||||
settings_keys.update(quality_changes_group.getAllKeys())
|
settings_keys.update(quality_changes_group.getAllKeys())
|
||||||
|
|
||||||
# We iterate over all definitions instead of settings in a quality/qualtiy_changes group is because in the GUI,
|
# We iterate over all definitions instead of settings in a quality/qualtiy_changes group is because in the GUI,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue