Fix open prefs taint
This commit is contained in:
parent
9f2a53d9c9
commit
9896d06a9d
|
@ -69,7 +69,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
|
||||
|
|
Loading…
Reference in New Issue