Skip to content

Commit

Permalink
Search Engine: Fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomis committed Feb 22, 2021
1 parent 14360cc commit def583d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ local function add_to_table(search_id, element, result_columns)
end

local function progress_gui(search_task)
if global.search_windows[search_id] then
if global.search_windows and global.search_windows[search_id] then
return global.search_windows[search_id].elems
end
local elems = show_window(search_task.task_data)
Expand Down

0 comments on commit def583d

Please sign in to comment.