From 784acb9eb6787f553af6de9051ec7cc3771ae5ea Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Thu, 14 Oct 2010 16:21:45 +0100 Subject: [PATCH] Replace the 'Change binding' menu with 'Edit macro' for macros --- BindConfig.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BindConfig.lua b/BindConfig.lua index 62f4ab2..274580f 100755 --- a/BindConfig.lua +++ b/BindConfig.lua @@ -482,8 +482,8 @@ function CliqueConfig:Row_OnClick(frame, button) } if binding.type == "macro" then - -- Add an edit binding menu - table.insert(menu, 3, { + -- Replace 'Change Binding' with 'Edit macro' + menu[2] = { text = L["Edit macro"], func = function() self.page2.bindType = "macro" @@ -496,7 +496,7 @@ function CliqueConfig:Row_OnClick(frame, button) self.page2:Show() end, notCheckable = true, - }) + } end local submenu = { -- 1.7.9.5