From fdc90033bba7d209407a4f88d98cead86307a829 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Fri, 28 Apr 2023 22:55:48 +0200 Subject: [PATCH] Fix for 10.1 Fix #12 --- LibEditMode.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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