Fix Cancel Objects index display (zero-based) (#18841)
This commit is contained in:
parent
83e15f7701
commit
37b03dea8d
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ void CancelObject::set_active_object(const int8_t obj) {
|
||||||
|
|
||||||
#if HAS_DISPLAY
|
#if HAS_DISPLAY
|
||||||
if (active_object >= 0)
|
if (active_object >= 0)
|
||||||
ui.status_printf_P(0, PSTR(S_FMT " %i"), GET_TEXT(MSG_PRINTING_OBJECT), int(active_object + 1));
|
ui.status_printf_P(0, PSTR(S_FMT " %i"), GET_TEXT(MSG_PRINTING_OBJECT), int(active_object));
|
||||||
else
|
else
|
||||||
ui.reset_status();
|
ui.reset_status();
|
||||||
#endif
|
#endif
|
||||||
|
|
Reference in a new issue