Reset progress bar when print ends
Fix #10330 Based on #10333 by @marcio-ao
This commit is contained in:
parent
8e36d00ad0
commit
211544b543
@ -937,6 +937,9 @@ void CardReader::printingHasFinished() {
|
|||||||
#if ENABLED(SDCARD_SORT_ALPHA)
|
#if ENABLED(SDCARD_SORT_ALPHA)
|
||||||
presort();
|
presort();
|
||||||
#endif
|
#endif
|
||||||
|
#if ENABLED(ULTRA_LCD) && ENABLED(LCD_SET_PROGRESS_MANUALLY)
|
||||||
|
progress_bar_percent = 0;
|
||||||
|
#endif
|
||||||
#if ENABLED(SD_REPRINT_LAST_SELECTED_FILE)
|
#if ENABLED(SD_REPRINT_LAST_SELECTED_FILE)
|
||||||
lcd_reselect_last_file();
|
lcd_reselect_last_file();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user