mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 19:35:58 +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):
|
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…
x
Reference in New Issue
Block a user