Merge pull request #1320 from chrox/master

fix filemanager cannot remember sorting order
This commit is contained in:
HW
2014-12-02 11:17:51 +01:00
2 changed files with 2 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ function FileManager:init()
local file_chooser = FileChooser:new{
-- remeber to adjust the height when new item is added to the group
path = self.root_path,
collate = G_reader_settings:readSetting("collate") or "strcoll",
show_parent = self.show_parent,
show_hidden = show_hidden,
width = Screen:getWidth(),

View File

@@ -274,6 +274,7 @@ function ReaderFooter:onTapFooter(arg, ges)
else
self:updateFooterPos()
end
UIManager:setDirty(self.view.dialog, "partial", self[1][1][1].dimen)
return true
end