Skip to content

Commit 2872d9b

Browse files
author
LocalIdentity
committed
Fix selected mod changing index on selecting different source
1 parent 7d4ecfe commit 2872d9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Classes/ItemsTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2808,7 +2808,7 @@ function ItemsTabClass:AddCustomModifierToDisplayItem()
28082808
buildMods(value.sourceId)
28092809
controls.modSelect:SetSel(1)
28102810
if controls.sort then
2811-
applySort(controls.sort.list[controls.sort.selIndex].stat)
2811+
applySort(controls.sort.list[controls.sort.selIndex].stat, true)
28122812
end
28132813
end)
28142814
controls.source.enabled = #sourceList > 1

0 commit comments

Comments
 (0)