Skip to content

Commit dd5ed5d

Browse files
committed
Fix edit boxes
1 parent 0808a5b commit dd5ed5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Classes/CompareBuySimilar.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,8 @@ function M.openPopup(item, slotName, primaryBuild)
483483
-- when the trade site has a dropdown for the value, we opt to disable
484484
-- the inputs as they are numeric
485485
if not (entry.isOption or entry.needsExactValue) and entry.value then
486-
controls[prefix .. "Min"] = tradeHelpers.newPlainNumericEdit(nil, { minFieldX - popupWidth / 2, controlYPos, fieldW, fieldH }, entry.value ~= 0 and tostring(entry.value) or "", "Min", 8, rebuildUrl)
487-
controls[prefix .. "Max"] = tradeHelpers.newPlainNumericEdit(nil, { maxFieldX - popupWidth / 2, controlYPos, fieldW, fieldH }, "", "Max", 8, rebuildUrl)
486+
controls[prefix .. "Min"] = tradeHelpers.newPlainNumericEdit(nil, { minFieldX - popupWidth / 2, controlYPos, fieldW, fieldH }, entry.value ~= 0 and tostring(entry.value) or "", "Min", 8, nil, rebuildUrl)
487+
controls[prefix .. "Max"] = tradeHelpers.newPlainNumericEdit(nil, { maxFieldX - popupWidth / 2, controlYPos, fieldW, fieldH }, "", "Max", 8, nil, rebuildUrl)
488488
if not canSearch then
489489
controls[prefix .. "Min"].enabled = function() return false end
490490
controls[prefix .. "Max"].enabled = function() return false end

0 commit comments

Comments
 (0)