From b9311a1772abec80c3c96df35c9b1bf62f7f229a Mon Sep 17 00:00:00 2001 From: yparitcher Date: Wed, 19 Aug 2020 23:31:57 -0400 Subject: [PATCH] FM: rotation flush setting before reinit (#6532) when rotation was caused by a gesture the gesture settings were not flushed leading to weird state when the FM reinit reloaded the gestures plugin discovered in #6530 caused by #6309 --- frontend/apps/filemanager/filemanager.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/apps/filemanager/filemanager.lua b/frontend/apps/filemanager/filemanager.lua index b2b4e4f7b..da1af7de8 100644 --- a/frontend/apps/filemanager/filemanager.lua +++ b/frontend/apps/filemanager/filemanager.lua @@ -643,6 +643,7 @@ function FileManager:tapPlus() end function FileManager:reinit(path, focused_file) + UIManager:flushSettings() self.dimen = Screen:getSize() -- backup the root path and path items self.root_path = path or self.file_chooser.path