diff options
author | Jaime van Kessel <nallath@gmail.com> | 2017-03-30 11:47:11 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2017-03-30 11:47:11 +0300 |
commit | 13561bdb46f9371613cb62edfd2b76bb8f7a9bad (patch) | |
tree | 4dfa65176ef9f03d26f2ede10265175e493f2158 /cura/PrintInformation.py | |
parent | 0655771cb8e79a0ff2149a171b4c92cbf44cad77 (diff) |
material_amounts is now defined in init
Somehow this was forgotten, which could cause issues in certain cases.
CURA-3617
Diffstat (limited to 'cura/PrintInformation.py')
-rw-r--r-- | cura/PrintInformation.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cura/PrintInformation.py b/cura/PrintInformation.py index 15cae19ec9..0369f536fa 100644 --- a/cura/PrintInformation.py +++ b/cura/PrintInformation.py @@ -75,6 +75,8 @@ class PrintInformation(QObject): Application.getInstance().getMachineManager().activeMaterialChanged.connect(self._onActiveMaterialChanged) self._onActiveMaterialChanged() + self._material_amounts = [] + currentPrintTimeChanged = pyqtSignal() preSlicedChanged = pyqtSignal() |