diff options
Diffstat (limited to 'callbacks.lua')
-rw-r--r-- | callbacks.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/callbacks.lua b/callbacks.lua index 7240814..e6ea3e7 100644 --- a/callbacks.lua +++ b/callbacks.lua @@ -154,7 +154,8 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) end end - if fields.searchbutton then + if fields.searchbutton + or fields.key_enter_field == "searchbox" then unified_inventory.apply_filter(player, unified_inventory.current_searchbox[player_name], "nochange") unified_inventory.set_inventory_formspec(player, unified_inventory.current_page[player_name]) |