Set field_enter_after_edit for search fields

This commit is contained in:
Gregor Parzefall
2024-02-24 14:37:47 +01:00
committed by Lars Müller
parent 10799db4cf
commit 5a80084800
2 changed files with 2 additions and 0 deletions

View File

@ -282,6 +282,7 @@ local function get_formspec(player)
"tooltip[clear;"..esc(S("Reset")).."]"..
"tooltip[prev;"..esc(S("Previous page")).."]"..
"tooltip[next;"..esc(S("Next page")).."]"..
"field_enter_after_edit[filter;true]"..
"field_close_on_enter[filter;false]")
if #data.items == 0 then