diff --git a/Misc/qs_pak/scripts/expmode_progs.lua b/Misc/qs_pak/scripts/expmode_progs.lua index c69c49c1..fcf3e804 100644 --- a/Misc/qs_pak/scripts/expmode_progs.lua +++ b/Misc/qs_pak/scripts/expmode_progs.lua @@ -208,9 +208,6 @@ local function definitions_onupdate(self) local visible, opened = imBegin(title, true) if visible and opened then - local searchmodified = searchbar(self) - local entries = updatesearch(self, definitions_searchcompare, searchmodified) - if self.definitions == fielddefinitions then imAlignTextToFramePadding() imText('Values:') @@ -238,6 +235,9 @@ local function definitions_onupdate(self) end end + local searchmodified = searchbar(self) + local entries = updatesearch(self, definitions_searchcompare, searchmodified) + if imBeginTable(title, 5, defaultTableFlags) then imTableSetupScrollFreeze(0, 1) imTableSetupColumn('Index', imTableColumnWidthFixed)