From 41f76993f931b7a72cdc916640ba0cf169315ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C4=8Cejchan?= Date: Fri, 23 Aug 2024 17:43:17 +0200 Subject: [PATCH] Fix MI_NOZZLE_DIAMETER being hidden on XL BFW-5949 --- src/gui/MItem_hardware.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/MItem_hardware.cpp b/src/gui/MItem_hardware.cpp index e0be9d036c..57e24e7681 100644 --- a/src/gui/MItem_hardware.cpp +++ b/src/gui/MItem_hardware.cpp @@ -19,7 +19,7 @@ MI_NOZZLE_DIAMETER::MI_NOZZLE_DIAMETER(int tool_idx, [[maybe_unused]] is_hidden_ : WiSpin(get_eeprom(tool_idx), nozzle_diameter_spin_config, _(label)) , tool_idx(tool_idx) { #if ENABLED(PRUSA_TOOLCHANGER) - set_is_hidden(prusa_toolchanger.is_toolchanger_enabled()); + set_is_hidden(prusa_toolchanger.is_toolchanger_enabled() ? with_toolchanger : is_hidden_t::no); #endif }