mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:59:00 +08:00
Update DisplayFilenameAndLayerOnLCD.py
This commit is contained in:
parent
1ae0728c9f
commit
10643da56c
@ -71,7 +71,7 @@ class DisplayFilenameAndLayerOnLCD(Script):
|
||||
max_layer = max_layer.split(":")[1]
|
||||
if line.startswith(";LAYER:"):
|
||||
if self.getSettingValueByKey("maxlayer"):
|
||||
display_text = display_text + " of " + max_layer + "!"
|
||||
display_text = display_text + " of " + max_layer
|
||||
else:
|
||||
display_text = display_text + "!"
|
||||
line_index = lines.index(line)
|
||||
|
Loading…
x
Reference in New Issue
Block a user