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:
committed by
Bertrand Songis
parent
545f42d40a
commit
4fea9d8f23
@@ -194,7 +194,6 @@ bool menuRadioSdManager(event_t _event)
|
||||
// no break;
|
||||
|
||||
case EVT_ENTRY_UP:
|
||||
case EVT_REFRESH:
|
||||
REFRESH_FILES();
|
||||
break;
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ bool menuTextView(event_t event)
|
||||
break;
|
||||
|
||||
case EVT_KEY_FIRST(KEY_EXIT):
|
||||
menuVerticalOffset = 0;
|
||||
popMenu();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user