Browse Source

Remove warnings that will never be visible

This was copied from the error state, where it does matter, but the warning state is not shown if the setting is not enabled.

Contributes to issue CURA-7384.
Ghostkeeper 4 years ago
parent
commit
a0f4305420
1 changed files with 3 additions and 3 deletions
  1. 3 3
      resources/definitions/tronxy_x.def.json

+ 3 - 3
resources/definitions/tronxy_x.def.json

@@ -101,15 +101,15 @@
         "filter_out_tiny_gaps": { "value": false },
 
         "retraction_speed": {
-            "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')",
+            "maximum_value_warning": "machine_max_feedrate_e",
             "maximum_value": 200
         },
         "retraction_retract_speed": {
-            "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')",
+            "maximum_value_warning": "machine_max_feedrate_e",
             "maximum_value": 200
         },
         "retraction_prime_speed": {
-            "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')",
+            "maximum_value_warning": "machine_max_feedrate_e",
             "maximum_value": 200
         },