# HG changeset patch # User James D. Callahan III # Date 1363715661 18000 # Node ID 7f5982e01953addc99101e71bbd8ffee1777f295 # Parent 2f493bc054e53fe602e4cc0296f83d62e2c6f0f8 Use ShowUIPanel(comment_frame) instead of comment_frame:Show() diff -r 2f493bc054e5 -r 7f5982e01953 Comments.lua --- a/Comments.lua Tue Mar 19 12:29:24 2013 -0500 +++ b/Comments.lua Tue Mar 19 12:54:21 2013 -0500 @@ -284,7 +284,7 @@ comment_frame.subject_name:SetText(unit_name) comment_frame.subject_data:SetFormattedText("(%s #%d)", type_name, unit_idnum) comment_frame.scroll_frame.edit_box:SetText("") - comment_frame:Show() + _G.ShowUIPanel(comment_frame) end local DATA_TYPE_MAPPING = { @@ -332,7 +332,7 @@ end CURSOR_DATA_FUNCS[data_type](DATA_TYPE_MAPPING[data_type] or data_type:upper(), data, data_subtype, subdata) comment_frame.scroll_frame.edit_box:SetText("") - comment_frame:Show() + _G.ShowUIPanel(comment_frame) end local function CreateQuestComment() @@ -355,7 +355,7 @@ comment_frame.subject_name:SetText(title) comment_frame.subject_data:SetFormattedText("(%s #%d)", "QUEST", idnum) comment_frame.scroll_frame.edit_box:SetText("") - comment_frame:Show() + _G.ShowUIPanel(comment_frame) end -- METHODS ------------------------------------------------------------