core: only hide errors in ui errors frame

This commit is contained in:
shagu
2020-07-23 18:46:50 +02:00
parent 82c2107f42
commit 50a6a76dda
3 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -69,6 +69,8 @@ pfUI:RegisterModule("skin", "vanilla:tbc", function ()
end
if C.global.errors_hide == "1" then
UIErrorsFrame:Hide()
UIErrorsFrame:UnregisterEvent("UI_ERROR_MESSAGE")
else
UIErrorsFrame:RegisterEvent("UI_ERROR_MESSAGE")
end
end)