Skip to content

Commit

Permalink
Fix settings dialog not resetting filter when closed (#13513)
Browse files Browse the repository at this point in the history
  • Loading branch information
rollerozxa committed May 27, 2023
1 parent 8cccd75 commit 394dd9f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion builtin/mainmenu/settings/dlg_settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 394dd9f

Please sign in to comment.