From dd802f9e176d6e7d2004f923e5e27aca376d0fcd Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Tue, 18 May 2021 12:57:56 +0200 Subject: [PATCH] Fix accidental variable shadowing --- data/core/commands/core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)