Fixed issue #126
This commit is contained in:
parent
b1ce1f5d33
commit
650f70949e
1 changed files with 10 additions and 0 deletions
|
@ -271,6 +271,11 @@ bool FileBrowser::BrowsableListView::CheckBrowseNavigation(bool pageOnly)
|
|||
offset++;
|
||||
dirty = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
list->currentIndex = 0;
|
||||
dirty = true;
|
||||
}
|
||||
}
|
||||
if (inputMappings->BrowseUp())
|
||||
{
|
||||
|
@ -285,6 +290,11 @@ bool FileBrowser::BrowsableListView::CheckBrowseNavigation(bool pageOnly)
|
|||
offset--;
|
||||
dirty = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
list->currentIndex = list->entries.size() - 1;
|
||||
dirty = true;
|
||||
}
|
||||
}
|
||||
if ((lcdPgUpDown && inputMappings->BrowsePageDownLCD()) || (!lcdPgUpDown && inputMappings->BrowsePageDown()))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue