From 48d602093029c5e6daf086e9161acb006b4a04e2 Mon Sep 17 00:00:00 2001 From: Paulo Matias Date: Thu, 15 Aug 2013 18:53:22 -0300 Subject: [PATCH] Initialize FileChooser with root_path, otherwise the command line argument (directory) is ignored --- frontend/apps/filemanager/fm.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/apps/filemanager/fm.lua b/frontend/apps/filemanager/fm.lua index 4396f2c00..2c79a9b72 100644 --- a/frontend/apps/filemanager/fm.lua +++ b/frontend/apps/filemanager/fm.lua @@ -29,6 +29,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, height = Screen:getHeight() - self.banner:getSize().h, is_popout = false, is_borderless = true,