fix: crash in tags on enter for no results and random crash in previewer

This commit is contained in:
Simon Hauser
2022-07-01 19:18:30 +02:00
parent 21eea92e72
commit 75deb22aa8
2 changed files with 7 additions and 0 deletions

View File

@@ -458,6 +458,9 @@ files.tags = function(opts)
action_set.select:enhance {
post = function()
local selection = action_state.get_selected_entry()
if not selection then
return
end
if selection.scode then
-- un-escape / then escape required