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
reviewable/pr6533/r1
yparitcher 4 years ago committed by GitHub
parent b9ffb2e0d0
commit b9311a1772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save