Fix redraw in SD Card menus

master
Scott Lahteine 8 years ago
parent 47b4b21308
commit d07229f185

@ -1992,6 +1992,8 @@ void kill_screen(const char* lcd_msg) {
void lcd_sd_updir() { void lcd_sd_updir() {
card.updir(); card.updir();
encoderTopLine = 0; encoderTopLine = 0;
screen_changed = true;
lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
} }
/** /**
@ -2464,6 +2466,8 @@ void kill_screen(const char* lcd_msg) {
UNUSED(longFilename); UNUSED(longFilename);
card.chdir(filename); card.chdir(filename);
encoderPosition = 0; encoderPosition = 0;
screen_changed = true;
lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
} }
#endif //SDSUPPORT #endif //SDSUPPORT

Loading…
Cancel
Save