mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
... and fix typing as a result of the last commit.
CURA-8014
This commit is contained in:
parent
f95c09db37
commit
f1cbe1a958
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class WhatsNewPagesModel(WelcomePagesModel):
|
||||||
texts, max_text = WhatsNewPagesModel._collectOrdinalFiles(Resources.Texts, WhatsNewPagesModel.text_formats)
|
texts, max_text = WhatsNewPagesModel._collectOrdinalFiles(Resources.Texts, WhatsNewPagesModel.text_formats)
|
||||||
highest = max(max_image, max_text)
|
highest = max(max_image, max_text)
|
||||||
|
|
||||||
self._subpages = [] #type: List[Dict[str, str]]
|
self._subpages = [] #type: List[Dict[str, Optional[str]]]
|
||||||
for n in range(0, highest + 1):
|
for n in range(0, highest + 1):
|
||||||
self._subpages.append({
|
self._subpages.append({
|
||||||
WhatsNewPagesModel.image_key: None if n not in images else images[n],
|
WhatsNewPagesModel.image_key: None if n not in images else images[n],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue