- Change event registration methods

- Add MyBank sorting
- Fix some tainting issue
This commit is contained in:
Sandor Takacs
2015-01-06 19:41:22 +01:00
parent 3e06a3a7ad
commit 25765b5f3c
4 changed files with 50 additions and 23 deletions

View File

@ -446,7 +446,7 @@ function MyInventory:LoadDropDown()
_G["this"] = dropDownButton
UIDropDownMenu_Initialize(dropDown, self.UserDropDown_Initialize)
UIDropDownMenu_SetSelectedValue(dropDown, self:GetCurrentPlayer())
-- UIDropDownMenu_SetSelectedValue(dropDown, self.Player)
-- UIDropDownMenu_SetSelectedValue(dropDown, self.Player)
UIDropDownMenu_SetWidth(dropDown, 140)
_G["this"] = last_this
end