Raphaelcoeffic/fix sd manager (#6783)

* do not invalidate filenames buffer on EVT_REFRESH

otherwise the filenames are reset to the end of list, whereby the indexes stay the same on [LONG ENTER] (pop-up menu).

* fix vertical offset when leaving text viewer
This commit is contained in:
Raphael Coeffic
2019-09-16 08:00:10 +02:00
committed by Bertrand Songis
parent 545f42d40a
commit 4fea9d8f23
2 changed files with 1 additions and 1 deletions
@@ -194,7 +194,6 @@ bool menuRadioSdManager(event_t _event)
// no break;
case EVT_ENTRY_UP:
case EVT_REFRESH:
REFRESH_FILES();
break;
+1
View File
@@ -50,6 +50,7 @@ bool menuTextView(event_t event)
break;
case EVT_KEY_FIRST(KEY_EXIT):
menuVerticalOffset = 0;
popMenu();
break;
}