diff --git a/data/core/commands/core.lua b/data/core/commands/core.lua index cdc70624..0b9de5c5 100644 --- a/data/core/commands/core.lua +++ b/data/core/commands/core.lua @@ -76,7 +76,7 @@ command.add(nil, { end end core.command_view:enter("Open File From Project", function(text, item) - local text = item and item.text or text + text = item and item.text or text local filename = core.resolve_project_filename(text) or common.home_expand(text) core.root_view:open_doc(core.open_doc(filename)) end, function(text)