mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fileinfo doesn't reset results
This affects multiple entry into fileinfo which just accumulate information, eventually scrolling off screen
This commit is contained in:
@@ -32,6 +32,7 @@ end
|
||||
|
||||
function FileInfo:init(path, fname)
|
||||
self.pathfile = path.."/"..fname
|
||||
self.result = {}
|
||||
-- add commands only once
|
||||
if not self.commands then
|
||||
self:addAllCommands()
|
||||
|
||||
Reference in New Issue
Block a user