Fixes #3912: Deleting file in SD manager updates the list wrongly (Horus)
This commit is contained in:
@@ -126,6 +126,8 @@ void onSdManagerMenu(const char * result)
|
|||||||
else if (result == STR_DELETE_FILE) {
|
else if (result == STR_DELETE_FILE) {
|
||||||
getSelectionFullPath(lfn);
|
getSelectionFullPath(lfn);
|
||||||
f_unlink(lfn);
|
f_unlink(lfn);
|
||||||
|
menuVerticalOffset = 0;
|
||||||
|
menuVerticalPosition = 0;
|
||||||
REFRESH_FILES();
|
REFRESH_FILES();
|
||||||
}
|
}
|
||||||
else if (result == STR_PLAY_FILE) {
|
else if (result == STR_PLAY_FILE) {
|
||||||
|
|||||||
Reference in New Issue
Block a user