Skip to content

Commit

Permalink
Fix MI_NOZZLE_DIAMETER being hidden on XL
Browse files Browse the repository at this point in the history
BFW-5949
  • Loading branch information
CZDanol-prusa authored and CZDanol committed Aug 26, 2024
1 parent f0221db commit 41f7699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/MItem_hardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 41f7699

Please sign in to comment.