Fix bug with selectin epubs inside of folders
This commit is contained in:
@@ -70,8 +70,8 @@ void FileSelectionScreen::handleInput() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (basepath.back() != '/') basepath += "/";
|
||||
if (files[selectorIndex].back() == '/') {
|
||||
if (basepath.back() != '/') basepath += "/";
|
||||
basepath += files[selectorIndex].substr(0, files[selectorIndex].length() - 1);
|
||||
loadFiles();
|
||||
updateRequired = true;
|
||||
|
||||
Reference in New Issue
Block a user