ElvUI/StaticPopup: Reword incompatible addon popup

This commit is contained in:
andrew6180
2024-05-01 10:33:19 -07:00
parent ee27d97c00
commit c7f435287d
10 changed files with 13 additions and 10 deletions
+4 -1
View File
@@ -167,6 +167,10 @@ E.PopupDialogs.DISABLE_INCOMPATIBLE_ADDON = {
E.PopupDialogs.INCOMPATIBLE_ADDON = {
text = L["INCOMPATIBLE_ADDON"],
OnAccept = function()
E.private[strlower(E.PopupDialogs.INCOMPATIBLE_ADDON.module)].enable = false
ReloadUI()
end,
OnCancel = function()
if E.PopupDialogs.INCOMPATIBLE_ADDON.addon == "Ascension_NamePlates" then
C_CVar.Set("useNewNamePlates", "0")
else
@@ -174,7 +178,6 @@ E.PopupDialogs.INCOMPATIBLE_ADDON = {
end
ReloadUI()
end,
OnCancel = function() E.private[strlower(E.PopupDialogs.INCOMPATIBLE_ADDON.module)].enable = false ReloadUI() end,
button3 = L["Disable Warning"],
OnAlt = function ()
E:StaticPopup_Hide("INCOMPATIBLE_ADDON")