Skip to content

Commit

Permalink
Disable IS adjustments
Browse files Browse the repository at this point in the history
BFW-5297
  • Loading branch information
CZDanol-prusa authored and bkerler committed Dec 18, 2024
1 parent b89d64f commit 592bd61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/screen_menu_input_shaper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ void ScreenMenuInputShaper::update_gui() {

// If the "enable editing" button is hiden, enable editing by default
// Also do not allow IS tuning mid-print
is_editing_enabled = Item<MI_IS_ENABLE_EDITING>().IsHidden() && !marlin_client::is_printing();
// Editing disabled completely for 6.0.0 release - BFW-5297o
is_editing_enabled = false && Item<MI_IS_ENABLE_EDITING>().IsHidden() && !marlin_client::is_printing();

AutoRestore _ar(is_updating_gui, true);

Expand All @@ -31,7 +32,7 @@ void ScreenMenuInputShaper::update_gui() {
Item<MI_IS_Y_TYPE>().set_is_enabled(is_editing_enabled && y_enabled);
Item<MI_IS_Y_FREQUENCY>().set_is_enabled(is_editing_enabled && y_enabled);
Item<MI_IS_Y_COMPENSATION>().set_is_enabled(is_editing_enabled && y_enabled);
Item<MI_IS_RESTORE_DEFAULTS>().set_is_enabled(is_editing_enabled);
Item<MI_IS_RESTORE_DEFAULTS>().set_is_enabled(!marlin_client::is_printing()); // TODO: revert back to is_editing_enabled

Item<MI_IS_X_TYPE>().set_show_disabled_extension(x_enabled);
Item<MI_IS_X_FREQUENCY>().set_show_disabled_extension(x_enabled);
Expand Down

0 comments on commit 592bd61

Please sign in to comment.