fix(options): use SetSelectedID so the text-size dropdown selection sticks
All checks were successful
release / release (push) Successful in 2s
All checks were successful
release / release (push) Successful in 2s
This commit is contained in:
parent
f109964880
commit
ef1003b4c9
1 changed files with 1 additions and 2 deletions
|
|
@ -150,8 +150,7 @@ PM:CreateOptionsUI()
|
|||
text = i;
|
||||
func = function()
|
||||
PM.db.txtSize = i
|
||||
local thisID = UIDropDownMenu_GetSelectedID(ProfessionMenuOptions_TxtSizeMenu)
|
||||
UIDropDownMenu_SetSelectedID(ProfessionMenuOptions_TxtSizeMenu, thisID)
|
||||
UIDropDownMenu_SetSelectedID(ProfessionMenuOptions_TxtSizeMenu, i - 9)
|
||||
end;
|
||||
};
|
||||
UIDropDownMenu_AddButton(info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue