mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00
Fixed exception for clean start
This commit is contained in:
parent
bae7af1ea0
commit
87336c4c01
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ class UserChangesModel(ListModel):
|
||||||
def _update(self):
|
def _update(self):
|
||||||
items = []
|
items = []
|
||||||
global_stack = Application.getInstance().getGlobalContainerStack()
|
global_stack = Application.getInstance().getGlobalContainerStack()
|
||||||
|
if not global_stack:
|
||||||
|
return
|
||||||
stacks = ExtruderManager.getInstance().getActiveGlobalAndExtruderStacks()
|
stacks = ExtruderManager.getInstance().getActiveGlobalAndExtruderStacks()
|
||||||
|
|
||||||
# Check if the definition container has a translation file and ensure it's loaded.
|
# Check if the definition container has a translation file and ensure it's loaded.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue