From 29c6f965e9c033d950e08f79d391e85b23b187b7 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Thu, 11 Jan 2007 13:21:26 +0000 Subject: [PATCH] Fixed an issue where clicks weren't applying after the MAX or EDIT buttons were used --- Clique.lua | 3 +++ CliqueOptions.lua | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Clique.lua b/Clique.lua index 9391b6b..3a0e9db 100644 --- a/Clique.lua +++ b/Clique.lua @@ -143,6 +143,9 @@ function Clique:SpellBookButtonPressed() self.editSet[key] = t self:ListScrollUpdate() + self:UpdateClicks() + -- We can only make changes when out of combat + self:PLAYER_REGEN_ENABLED() end function Clique:PLAYER_REGEN_ENABLED() diff --git a/CliqueOptions.lua b/CliqueOptions.lua index 2f30714..fe9cbdf 100644 --- a/CliqueOptions.lua +++ b/CliqueOptions.lua @@ -1053,6 +1053,7 @@ function Clique:ButtonOnClick(button) self:DeleteAction(entry) self:UpdateClicks() + self:PLAYER_REGEN_ENABLED() entry = nil self:ListScrollUpdate() @@ -1064,6 +1065,7 @@ function Clique:ButtonOnClick(button) entry.arg2 = nil self:DeleteAction(entry) self:UpdateClicks() + self:PLAYER_REGEN_ENABLED() elseif this == CliqueButtonCustom then if CliqueCustomFrame:IsVisible() then CliqueCustomFrame:Hide() @@ -1234,6 +1236,7 @@ function Clique:ButtonOnClick(button) local key = entry.modifier..entry.button self.editSet[key] = entry self:UpdateClicks() + self:PLAYER_REGEN_ENABLED() self:ButtonOnClick(CliqueCustomButtonCancel) end -- 1.7.9.5