Further review suggestions

Contributes to issue CURA-9220.
This commit is contained in:
Ghostkeeper 2022-08-01 10:49:12 +02:00
parent 84cf72d58f
commit 8a55a2aff6
No known key found for this signature in database
GPG key ID: FFBC62A75981ED70
2 changed files with 2 additions and 1 deletions

View file

@ -78,6 +78,7 @@ Item
var states = ["printing", "pausing", "paused", "resuming"]; var states = ["printing", "pausing", "paused", "resuming"];
return states.indexOf(printJob.state) !== -1; return states.indexOf(printJob.state) !== -1;
} }
property bool abortVisible: property bool abortVisible:
{ {
if(!printJob) if(!printJob)

View file

@ -1,4 +1,4 @@
# Copyright (c) 2022 Ultimaker B.V. # Copyright (c) 2020 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher. # Cura is released under the terms of the LGPLv3 or higher.
import os import os
from typing import Optional, Dict, List, Callable, Any from typing import Optional, Dict, List, Callable, Any