From 61c8f2662903ce9d14b038dec9e0f736163f28a2 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sun, 8 Jan 2017 01:52:34 +0100 Subject: [PATCH] minor opening change --- Postal.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Postal.lua b/Postal.lua index 4d801af..96e81bf 100644 --- a/Postal.lua +++ b/Postal.lua @@ -147,11 +147,11 @@ function hook.InboxFrame_Update() end function hook.InboxFrame_OnClick(index) - if arg1 == 'RightButton' then + if Inbox_opening then + this:SetChecked(nil) + elseif arg1 == 'RightButton' then Abort() Inbox_OpenMail{index} - elseif Inbox_opening then - this:SetChecked(nil) else return orig.InboxFrame_OnClick(index) end