CURA-4897 Minor changes

This commit is contained in:
Diego Prado Gesto 2018-01-31 11:01:42 +01:00
parent ac266581c6
commit 68366ccc8d

View file

@ -1,4 +1,4 @@
# Copyright (c) 2017 Ultimaker B.V. # Copyright (c) 2018 Ultimaker B.V.
# Uranium is released under the terms of the LGPLv3 or higher. # Uranium is released under the terms of the LGPLv3 or higher.
from UM.Settings.ContainerRegistry import ContainerRegistry from UM.Settings.ContainerRegistry import ContainerRegistry
@ -21,8 +21,7 @@ class UM2UpgradeSelection(MachineAction):
self._current_global_stack = None self._current_global_stack = None
from cura.CuraApplication import CuraApplication Application.getInstance().globalContainerStackChanged.connect(self._onGlobalStackChanged)
CuraApplication.getInstance().globalContainerStackChanged.connect(self._onGlobalStackChanged)
self._reset() self._reset()
def _reset(self): def _reset(self):