From a0f4305420c045d130f8f808704353a8f15d3a92 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 11 May 2020 11:02:37 +0200 Subject: [PATCH] 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. --- resources/definitions/tronxy_x.def.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/definitions/tronxy_x.def.json b/resources/definitions/tronxy_x.def.json index caf6510a1d..78025c12f2 100644 --- a/resources/definitions/tronxy_x.def.json +++ b/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 },