Fix call to missing project_files_limit
This commit is contained in:
parent
595c0a5833
commit
cd0f4144e2
|
@ -66,9 +66,8 @@ command.add(nil, {
|
||||||
end,
|
end,
|
||||||
|
|
||||||
["core:find-file"] = function()
|
["core:find-file"] = function()
|
||||||
-- FIXME: core.project_files_limit was removed!
|
if not core.project_files_number() then
|
||||||
if core.project_files_limit then
|
return command.perform "core:open-file"
|
||||||
return command.perform "core:open-file"
|
|
||||||
end
|
end
|
||||||
local files = {}
|
local files = {}
|
||||||
for dir, item in core.get_project_files() do
|
for dir, item in core.get_project_files() do
|
||||||
|
|
Loading…
Reference in New Issue