Start with: add Favorites

This commit is contained in:
poire-z committed 2020-08-26 23:43:10 +02:00
1 parent 27e953b127
commit 69d11ebfd9
2 files changed
+9

No files matched your search

+7
View File
@@ -292,6 +292,13 @@ if ARGV[argidx] and ARGV[argidx] ~= "" then
UIManager:nextTick(function()
FileManagerHistory:onShowHist(last_file)
end)
elseif start_with == "favorites" then
local FileManagerCollection = require("apps/filemanager/filemanagercollection")
UIManager:nextTick(function()
FileManagerCollection:new{
ui = FileManager.instance,
}:onShowColl("favorites")
end)
elseif start_with == "folder_shortcuts" then
local FileManagerShortcuts = require("apps/filemanager/filemanagershortcuts")
UIManager:nextTick(function()