Clear menu history for browse media on insert (#20236)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
qwewer0
2020-11-22 01:21:43 +01:00
committed by GitHub
parent 89b56ca5c2
commit e19c016c74
4 changed files with 5 additions and 3 deletions

View File

@@ -1625,6 +1625,7 @@ void MarlinUI::update() {
if (old_status < 2) {
TERN_(EXTENSIBLE_UI, ExtUI::onMediaInserted()); // ExtUI response
#if ENABLED(BROWSE_MEDIA_ON_INSERT)
clear_menu_history();
quick_feedback();
goto_screen(MEDIA_MENU_GATEWAY);
#else