From 19623b908ef37e526a3cd028a2185439abfd9c1e 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 9b4b5885..74de14c2 100644 --- a/data/core/commands/core.lua +++ b/data/core/commands/core.lua @@ -73,7 +73,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)