From fc6e060d612b825c07148acca00ca363b2f654f7 Mon Sep 17 00:00:00 2001 From: Bauumm Date: Sat, 4 Nov 2023 14:44:52 +0100 Subject: [PATCH] fix search not updating child indices --- ui/overlay/settings.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/overlay/settings.lua b/ui/overlay/settings.lua index 1729fd6..53d8c1c 100644 --- a/ui/overlay/settings.lua +++ b/ui/overlay/settings.lua @@ -191,6 +191,8 @@ local content = flex:new({ new_layouts[#new_layouts + 1] = name_layout_map[result[i]] end settings_column.elements = new_layouts + -- still need mutated to update child indices + settings_column:mutated() settings_column.changed = true -- don't show categories in search result view category_column.elements = {}