mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Update DisplayFilenameAndLayerOnLCD.py
This commit is contained in:
parent
1ae0728c9f
commit
10643da56c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue