From 786f063bf935078ce9ba892d49fb993bbacd288d Mon Sep 17 00:00:00 2001 From: Bulli Date: Tue, 15 Aug 2017 18:53:19 +0200 Subject: [PATCH] Fix for usage with the Addon MobileFrames The addon MobileFrames changes the parent. So you get a LUA error at those lines. After this change, it works with and without MobileFrames. MobileFrames: https://drive.google.com/file/d/0BxUEpLqG5Y0Edm5HbFNWdjFtbWM/view --- postal.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postal.lua b/postal.lua index ba952a7..9414cca 100644 --- a/postal.lua +++ b/postal.lua @@ -98,8 +98,8 @@ end function ADDON_LOADED() if arg1 ~= 'postal' then return end - UIPanelWindows.MailFrame.pushable = 1 - UIPanelWindows.FriendsFrame.pushable = 2 + MailFrame.pushable = 1 + FriendsFrame.pushable = 2 Inbox_Load() SendMail_Load() @@ -764,4 +764,4 @@ do postalAutoCompleteBox:Hide() end end -end \ No newline at end of file +end