fix materials selection dialog

where the filter was swallowing the sublist hotkeys
develop
myk002 2022-10-19 17:31:28 -07:00
parent 142b45ef49
commit 1e21e6546e
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 3 additions and 0 deletions

@ -36,6 +36,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
## New Plugins ## New Plugins
## Fixes ## Fixes
- `gui/create-item`: prevent materials list filter from intercepting sublist hotkeys
- `tiletypes`: no longer resets dig priority to the default when updating other properties of a tile - `tiletypes`: no longer resets dig priority to the default when updating other properties of a tile
## Misc Improvements ## Misc Improvements

@ -56,6 +56,8 @@ function MaterialDialog:init(info)
frame = { l = 0, r = 0, t = 4, b = 2 }, frame = { l = 0, r = 0, t = 4, b = 2 },
icon_width = 2, icon_width = 2,
on_submit = self:callback('onSubmitItem'), on_submit = self:callback('onSubmitItem'),
edit_ignore_keys={'CUSTOM_SHIFT_I', 'CUSTOM_SHIFT_C',
'CUSTOM_SHIFT_P'},
}, },
widgets.Label{ widgets.Label{
text = { { text = { {