Remove unused functions

This commit is contained in:
Jaime van Kessel 2018-09-07 16:02:54 +02:00
parent 20ec8828ed
commit 638f9fb941
2 changed files with 4 additions and 27 deletions

View file

@ -43,7 +43,9 @@ class UserChangesModel(ListModel):
global_stack = Application.getInstance().getGlobalContainerStack()
if not global_stack:
return
stacks = ExtruderManager.getInstance().getActiveGlobalAndExtruderStacks()
stacks = [global_stack]
stacks.extend(global_stack.extruders.values())
# Check if the definition container has a translation file and ensure it's loaded.
definition = global_stack.getBottom()