mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 01:46:03 +00:00
thirdparty: abort on empty wim frames
This commit is contained in:
@@ -547,9 +547,12 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
|
||||
|
||||
-- wrap SkinCheckbox to fix issues with scrollframe breaking layers
|
||||
local SkinScrollchildCheckbox = function(f, s)
|
||||
if not f then return end
|
||||
SkinCheckbox(f, s)
|
||||
f.backdrop:SetParent(f:GetParent())
|
||||
f:SetParent(f.backdrop)
|
||||
if f:GetParent() ~= f.backdrop and f:GetParent() ~= f then
|
||||
f.backdrop:SetParent(f:GetParent())
|
||||
f:SetParent(f.backdrop)
|
||||
end
|
||||
end
|
||||
do -- general tab
|
||||
SkinTab(WIM_OptionsOptionTab1)
|
||||
|
||||
Reference in New Issue
Block a user