fix(options): use SetSelectedID so the text-size dropdown selection sticks
release / release (push) Successful in 3s

This commit is contained in:
2026-05-29 10:43:54 +02:00
parent f109964880
commit ef1003b4c9
+1 -2
View File
@@ -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);