Skip to content

Commit

Permalink
exp: swap combo box and search bar in progs field definitions tool
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Dec 22, 2024
1 parent c7e62dc commit f4fd75e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Misc/qs_pak/scripts/expmode_progs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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:')
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f4fd75e

Please sign in to comment.