Compare commits
2 Commits
94f0276604
...
d43427c8d3
Author | SHA1 | Date |
---|---|---|
Robin Hüskes | d43427c8d3 | |
Robin Hüskes | ee082d2568 |
|
@ -23,17 +23,19 @@ function lib:DefaultOnClick(_, button, addon, childName)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if(not InCombatLockdown()) then
|
if(not InCombatLockdown()) then
|
||||||
if(SettingsPanel and SettingsPanel.CloseButton:IsVisible()) then
|
if(SettingsPanel) then
|
||||||
SettingsPanel:Hide()
|
if(SettingsPanel:IsVisible()) then
|
||||||
elseif(InterfaceOptionsFrame and InterfaceOptionsFrame:IsVisible()) then
|
SettingsPanel:Hide()
|
||||||
InterfaceOptionsFrame:Hide()
|
else
|
||||||
end
|
Settings.OpenToCategory(childName)
|
||||||
else
|
end
|
||||||
if(Settings and Settings.OpenToCategory) then
|
elseif(InterfaceOptionsFrame) then
|
||||||
Settings.OpenToCategory(childName)
|
if(InterfaceOptionsFrame:IsVisible()) then
|
||||||
else
|
InterfaceOptionsFrame:Hide()
|
||||||
InterfaceOptionsFrame_OpenToCategory(childName)
|
else
|
||||||
InterfaceOptionsFrame_OpenToCategory(childName) -- Twice because of a bug in InterfaceOptionsFrame_OpenToCategory
|
InterfaceOptionsFrame_OpenToCategory(childName)
|
||||||
|
InterfaceOptionsFrame_OpenToCategory(childName) -- Twice because of a bug in InterfaceOptionsFrame_OpenToCategory
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue