Fix settings dialog not resetting filter when closed (#13513)

This commit is contained in:
ROllerozxa 2023-05-27 16:35:01 +02:00 committed by GitHub
parent 8cccd75e81
commit 394dd9ffa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -519,5 +519,9 @@ end
function create_settings_dlg()
return dialog_create("dlg_settings", get_formspec, buttonhandler, nil)
local dlg = dialog_create("dlg_settings", get_formspec, buttonhandler, nil)
dlg.data.page_id = update_filtered_pages("")
return dlg
end