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