1 Commits

Author SHA1 Message Date
florian.berthold ef1003b4c9 fix(options): use SetSelectedID so the text-size dropdown selection sticks
release / release (push) Successful in 3s
2026-05-29 10:43:54 +02:00
+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);