diff --git a/broker.lua b/broker.lua index de8e430..aa18b08 100755 --- a/broker.lua +++ b/broker.lua @@ -18,7 +18,8 @@ local function OnClick(self, button) if(not InCombatLockdown()) then if(SettingsPanel) then if(SettingsPanel:IsVisible()) then - SettingsPanel:Hide() + HideUIPanel(SettingsPanel) + HideUIPanel(GameMenuFrame) else Settings.OpenToCategory(childName) end