fix bad use of gui.widgets.find()

the old code no longer works after 661fc1d8ef
This commit is contained in:
gfgtdf 2020-09-25 01:05:27 +02:00 committed by GitHub
parent 35d6fcfd30
commit 21a1220273
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,8 +75,7 @@ local zombie_recruit_dialog = { maximum_height=676, minimum_height=608,
}
}
local function preshow()
local dialog = gui.widget.find()
local function preshow(dialog)
local function select()
-- TODO: why not use unit_preview_pane widget ?