diff options
author | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2018-01-31 13:01:42 +0300 |
---|---|---|
committer | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2018-01-31 13:01:42 +0300 |
commit | 68366ccc8df541767b14083fec986cc175dda112 (patch) | |
tree | 9ed0f1775c96368b6474a3d9b4d3b69d4e2c3c28 /plugins/UltimakerMachineActions | |
parent | ac266581c6f9bb3871fb8614c55dc025343e0ea8 (diff) |
CURA-4897 Minor changes
Diffstat (limited to 'plugins/UltimakerMachineActions')
-rw-r--r-- | plugins/UltimakerMachineActions/UM2UpgradeSelection.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/UltimakerMachineActions/UM2UpgradeSelection.py b/plugins/UltimakerMachineActions/UM2UpgradeSelection.py index 0fd31ec445..e21256f6bd 100644 --- a/plugins/UltimakerMachineActions/UM2UpgradeSelection.py +++ b/plugins/UltimakerMachineActions/UM2UpgradeSelection.py @@ -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. from UM.Settings.ContainerRegistry import ContainerRegistry @@ -21,8 +21,7 @@ class UM2UpgradeSelection(MachineAction): self._current_global_stack = None - from cura.CuraApplication import CuraApplication - CuraApplication.getInstance().globalContainerStackChanged.connect(self._onGlobalStackChanged) + Application.getInstance().globalContainerStackChanged.connect(self._onGlobalStackChanged) self._reset() def _reset(self): |