From 2df3712fa0c1f7d41efadda2ffeaf501a266af66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20H=C3=BCskes?= Date: Sun, 27 Nov 2022 23:21:55 +0100 Subject: [PATCH] Update Libs --- Libs/zzLDB/zzLDB.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Libs/zzLDB/zzLDB.lua b/Libs/zzLDB/zzLDB.lua index 8c8cada..9639a17 100755 --- a/Libs/zzLDB/zzLDB.lua +++ b/Libs/zzLDB/zzLDB.lua @@ -1,4 +1,4 @@ -local lib = LibStub:NewLibrary("zzLDB", 5) +local lib = LibStub:NewLibrary("zzLDB", 6) if not lib then return end local ldb = LibStub:GetLibrary("LibDataBroker-1.1") local ldbicon = LibStub:GetLibrary("LibDBIcon-1.0") @@ -25,7 +25,8 @@ function lib:DefaultOnClick(_, button, addon, childName) if(not InCombatLockdown()) then if(SettingsPanel) then if(SettingsPanel:IsVisible()) then - SettingsPanel:Hide() + HideUIPanel(SettingsPanel) + HideUIPanel(GameMenuFrame) else Settings.OpenToCategory(childName) end