Fix open prefs taint

This commit is contained in:
Robin Hüskes 2022-11-28 23:10:09 +01:00
parent dce0379ad2
commit 78c5b0d24b
1 changed files with 2 additions and 1 deletions

View File

@ -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