Fixed exception for clean start

This commit is contained in:
Jaime van Kessel 2017-03-02 17:11:33 +01:00
parent bae7af1ea0
commit 87336c4c01

View file

@ -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.