Skip to content

Commit a509d02

Browse files
committed
Fix scourge dropdowns not omitting selected value
1 parent 4dae258 commit a509d02

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Classes/ItemsTab.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2968,7 +2968,8 @@ function ItemsTabClass:CorruptDisplayItem(modType)
29682968
for i = 1, 4 do
29692969
controls["implicit" .. i].selFunc = function()
29702970
local otherIdx = (i % 2 == 0) and (i - 1) or (i + 1)
2971-
buildList(controls["implicit" .. i], controls["implicit" .. i + otherIdx], i < 3 and currentModType or "ScourgeDownside")
2971+
-- remove selected entry from other dropdown of the same type
2972+
buildList(controls["implicit" .. otherIdx], controls["implicit" .. i], i < 3 and currentModType or "ScourgeDownside")
29722973
end
29732974
if i < 3 then
29742975
controls["implicit" .. i].selFunc()

0 commit comments

Comments
 (0)