complete fix (annoying check sound)
This commit is contained in:
+4
-1
@@ -377,7 +377,9 @@ function self.hook.SendMailFrame_Update()
|
|||||||
SendMailCODButton:Enable()
|
SendMailCODButton:Enable()
|
||||||
SendMailCODButtonText:SetTextColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b)
|
SendMailCODButtonText:SetTextColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b)
|
||||||
else
|
else
|
||||||
SendMailRadioButton_OnClick(1)
|
SendMailSendMoneyButton:SetChecked(1)
|
||||||
|
SendMailCODButton:SetChecked(nil)
|
||||||
|
SendMailMoneyText:SetText(AMOUNT_TO_SEND)
|
||||||
SendMailCODButton:Disable()
|
SendMailCODButton:Disable()
|
||||||
SendMailCODButtonText:SetTextColor(GRAY_FONT_COLOR.r, GRAY_FONT_COLOR.g, GRAY_FONT_COLOR.b)
|
SendMailCODButtonText:SetTextColor(GRAY_FONT_COLOR.r, GRAY_FONT_COLOR.g, GRAY_FONT_COLOR.b)
|
||||||
end
|
end
|
||||||
@@ -565,6 +567,7 @@ end
|
|||||||
-- requires an item lock changed event for a proper update
|
-- requires an item lock changed event for a proper update
|
||||||
function self:SendMail_SetAttachment(item, slot)
|
function self:SendMail_SetAttachment(item, slot)
|
||||||
if item and not self:SendMail_PickupMailable(item) then
|
if item and not self:SendMail_PickupMailable(item) then
|
||||||
|
ClearCursor()
|
||||||
return
|
return
|
||||||
elseif not slot then
|
elseif not slot then
|
||||||
for i=1,ATTACHMENTS_MAX do
|
for i=1,ATTACHMENTS_MAX do
|
||||||
|
|||||||
Reference in New Issue
Block a user