Add missing home_encode for change-project-folder

This commit is contained in:
Francesco Abbate 2021-08-28 08:08:53 -07:00
parent eeac85d4b4
commit f1c004411c
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ command.add(nil, {
["core:change-project-folder"] = function()
local dirname = common.dirname(core.project_dir)
core.command_view:set_text(dirname .. PATHSEP)
core.command_view:set_text(common.home_encode(dirname) .. PATHSEP)
core.command_view:enter("Change Project Folder", function(text, item)
text = system.absolute_path(common.home_expand(item and item.text or text))
if text == core.project_dir then return end