mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Fixed some missed references to the previous variables - CURA-4232
This commit is contained in:
parent
0e1b9d8c5d
commit
f139bbe3f1
2 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ class PrintInformation(QObject):
|
|||
self._print_time_message_values = {}
|
||||
|
||||
# Full fill message values using keys from _print_time_message_translations
|
||||
for key in sorted(self._print_time_message_translations.keys()):
|
||||
for key in self._print_time_message_translations.keys():
|
||||
self._print_time_message_values[key] = Duration(None, self)
|
||||
|
||||
|
||||
|
|
|
@ -162,7 +162,7 @@ class SliceInfo(Extension):
|
|||
|
||||
data["models"].append(model)
|
||||
|
||||
print_times = print_information.printTimesPerFeature
|
||||
print_times = print_information._print_time_message_values
|
||||
data["print_times"] = {"travel": int(print_times["travel"].getDisplayString(DurationFormat.Format.Seconds)),
|
||||
"support": int(print_times["support"].getDisplayString(DurationFormat.Format.Seconds)),
|
||||
"infill": int(print_times["infill"].getDisplayString(DurationFormat.Format.Seconds)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue