diff --git a/LibEditMode.lua b/LibEditMode.lua index ccc187d..d65b15b 100644 --- a/LibEditMode.lua +++ b/LibEditMode.lua @@ -184,7 +184,7 @@ function lib:AddFrame(frame, callback, default) selection:SetScript('OnMouseDown', onMouseDown) selection:SetScript('OnDragStart', onDragStart) selection:SetScript('OnDragStop', onDragStop) - selection:SetLabelText(frame:GetName()) + selection.Label:SetText(frame:GetName()) selection:Hide() frameSelections[frame] = selection