bed_level: hide the panel if bed_screws or screws_tilt_calculate are not defined

there are printers with fixed beds that don't need this panel
This commit is contained in:
alfrix authored and Alfredo Monclus committed 2022-08-01 12:23:40 -03:00
1 parent aa2bfcbaee
commit c047bed518
5 files changed
+111 -115

No files matched your search

+1
View File
@@ -137,6 +137,7 @@ panel: console
name: {{ gettext('Bed Level') }}
icon: bed-level
panel: bed_level
enable: {{ printer.bed_screws or printer.screws_tilt_adjust}}
[menu __main config bedmesh]
name: {{ gettext('Bed Mesh') }}