From afda08799717e0b001fd26875868aa9a1ac938e3 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Wed, 6 Dec 2006 01:34:40 +0000 Subject: [PATCH] * Fixed an issue with the new profile static pop-up, where clicking the "Accept" button would cause an error --- CliqueOptions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CliqueOptions.lua b/CliqueOptions.lua index 5699b03..093919c 100644 --- a/CliqueOptions.lua +++ b/CliqueOptions.lua @@ -1474,8 +1474,8 @@ StaticPopupDialogs["CLIQUE_NEW_PROFILE"] = { text = TEXT("Enter the name of a new profile you'd like to create"), button1 = TEXT(OKAY), button2 = TEXT(CANCEL), - OnAccept = function() - local name = this:GetName().."EditBox" + OnAccept = function() + local name = this:GetParent():GetName().."EditBox" local button = getglobal(name) local text = button:GetText() Clique:SetProfile(text) -- 1.7.9.5