From abfbb36e180965f44cedb642970de1fca45fc9a1 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sun, 10 Oct 2010 20:24:48 +0100 Subject: [PATCH] Update BindConfig when changing profiles --- BindConfig.lua | 2 +- Clique.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/BindConfig.lua b/BindConfig.lua index 6fb27b1..ec8b51d 100755 --- a/BindConfig.lua +++ b/BindConfig.lua @@ -274,7 +274,7 @@ function CliqueConfig:UpdateList() local binds = addon.bindings -- GUI not created yet - if not page then + if not self.initialized then return end diff --git a/Clique.lua b/Clique.lua index 8727545..4c3a5e4 100755 --- a/Clique.lua +++ b/Clique.lua @@ -472,6 +472,8 @@ function addon:ChangeProfile(profileName) addon:UpdateAttributes() addon:UpdateGlobalAttributes() addon:UpdateOptionsPanel() + + CliqueConfig:UpdateList() end SLASH_CLIQUE1 = "/clique" -- 1.7.9.5