Mercurial > wow > wowdb-profiler
changeset 262:7f5982e01953
Use ShowUIPanel(comment_frame) instead of comment_frame:Show()
author | James D. Callahan III <jcallahan@curse.com> |
---|---|
date | Tue, 19 Mar 2013 12:54:21 -0500 |
parents | 2f493bc054e5 |
children | 03f1fbe64104 |
files | Comments.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 ------------------------------------------------------------