mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 19:56:00 +08:00
Fixed exception for clean start
This commit is contained in:
parent
bae7af1ea0
commit
87336c4c01
@ -37,6 +37,8 @@ class UserChangesModel(ListModel):
|
||||
def _update(self):
|
||||
items = []
|
||||
global_stack = Application.getInstance().getGlobalContainerStack()
|
||||
if not global_stack:
|
||||
return
|
||||
stacks = ExtruderManager.getInstance().getActiveGlobalAndExtruderStacks()
|
||||
|
||||
# Check if the definition container has a translation file and ensure it's loaded.
|
||||
|
Loading…
x
Reference in New Issue
Block a user