From 92f7c64520bf930a422c16ac2f104577b0b7ed78 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sun, 8 Jan 2017 01:44:07 +0100 Subject: [PATCH] right click to open a single mail --- Postal.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Postal.lua b/Postal.lua index 9c7ae2b..4d801af 100644 --- a/Postal.lua +++ b/Postal.lua @@ -147,7 +147,10 @@ function hook.InboxFrame_Update() end function hook.InboxFrame_OnClick(index) - if Inbox_opening then + if arg1 == 'RightButton' then + Abort() + Inbox_OpenMail{index} + elseif Inbox_opening then this:SetChecked(nil) else return orig.InboxFrame_OnClick(index) @@ -232,7 +235,6 @@ end function Inbox_Collect() Abort() - local selected = {} if next(Inbox_selectedItems) then for i in Inbox_selectedItems do