Migrate history folder, FileManagerHistory uses own history.lua file and ReadHistory component
This commit is contained in:
1 parent
2dbfcdf207
commit
667e8834ad
4 files changed
+133
-46
No files matched your search
@@ -329,6 +329,7 @@ end
|
||||
|
||||
function ReaderUI:showReader(file)
|
||||
DEBUG("show reader ui")
|
||||
require("readhistory"):addItem(file)
|
||||
if lfs.attributes(file, "mode") ~= "file" then
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = T( _("File '%1' does not exist."), file)
|
||||
|
||||
Reference in new issue
Block a user