Browse Source

Fix display of Z Hop After Extruder Switch Height on single extruder

If the setting is enabled on a single extruder printer, it'll show the Z Hop Height setting anyway even though it has no effect.
Ghostkeeper 5 years ago
parent
commit
5e302c6a67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/definitions/fdmprinter.def.json

+ 1 - 1
resources/definitions/fdmprinter.def.json

@@ -3890,7 +3890,7 @@
                     "value": "retraction_hop",
                     "minimum_value_warning": "0",
                     "maximum_value_warning": "10",
-                    "enabled": "retraction_enable and retraction_hop_after_extruder_switch",
+                    "enabled": "retraction_enable and retraction_hop_after_extruder_switch and extruders_enabled_count > 1",
                     "settable_per_mesh": false,
                     "settable_per_extruder": true
                 }