Fix open prefs taint
This commit is contained in:
parent
0aec7c390f
commit
efb7d130f9
|
@ -13,7 +13,8 @@ local function OnClick(self, button)
|
||||||
if(not InCombatLockdown()) then
|
if(not InCombatLockdown()) then
|
||||||
if(SettingsPanel) then
|
if(SettingsPanel) then
|
||||||
if(SettingsPanel:IsVisible()) then
|
if(SettingsPanel:IsVisible()) then
|
||||||
SettingsPanel:Hide()
|
HideUIPanel(SettingsPanel)
|
||||||
|
HideUIPanel(GameMenuFrame)
|
||||||
else
|
else
|
||||||
Settings.OpenToCategory(childName)
|
Settings.OpenToCategory(childName)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue