From 1e21e6546ea61b34e66aad4088eb502ffe21947d Mon Sep 17 00:00:00 2001 From: myk002 Date: Wed, 19 Oct 2022 17:31:28 -0700 Subject: [PATCH] fix materials selection dialog where the filter was swallowing the sublist hotkeys --- docs/changelog.txt | 1 + library/lua/gui/materials.lua | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/changelog.txt b/docs/changelog.txt index b2bf9f4c0..1a2cf1c0a 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -36,6 +36,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences: ## New Plugins ## 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 ## Misc Improvements diff --git a/library/lua/gui/materials.lua b/library/lua/gui/materials.lua index c81161bc5..165fda3e6 100644 --- a/library/lua/gui/materials.lua +++ b/library/lua/gui/materials.lua @@ -56,6 +56,8 @@ function MaterialDialog:init(info) frame = { l = 0, r = 0, t = 4, b = 2 }, icon_width = 2, on_submit = self:callback('onSubmitItem'), + edit_ignore_keys={'CUSTOM_SHIFT_I', 'CUSTOM_SHIFT_C', + 'CUSTOM_SHIFT_P'}, }, widgets.Label{ text = { {