temporary disable nil errors

This commit is contained in:
Crum
2018-08-06 21:24:57 -05:00
parent 9d77866577
commit fe8a34cd12
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -353,7 +353,7 @@ E.PopupDialogs["APPLY_FONT_WARNING"] = {
E.db.unitframe.fontSize = fontSize E.db.unitframe.fontSize = fontSize
E.db.unitframe.units.party.rdebuffs.font = font E.db.unitframe.units.party.rdebuffs.font = font
E.db.unitframe.units.raid.rdebuffs.font = font E.db.unitframe.units.raid.rdebuffs.font = font
E.db.unitframe.units.raid40.rdebuffs.font = font -- E.db.unitframe.units.raid40.rdebuffs.font = font
E:UpdateAll(true) E:UpdateAll(true)
end, end,
+8 -8
View File
@@ -445,16 +445,16 @@ function E:SetupLayout(layout, noDataReset)
E.db.unitframe.units.party.name.position = "TOP" E.db.unitframe.units.party.name.position = "TOP"
E.db.unitframe.units.party.power.text_format = "" E.db.unitframe.units.party.power.text_format = ""
E.db.unitframe.units.raid40.height = 30 -- E.db.unitframe.units.raid40.height = 30
E.db.unitframe.units.raid40.growthDirection = "LEFT_UP" -- E.db.unitframe.units.raid40.growthDirection = "LEFT_UP"
E.db.unitframe.units.party.health.frequentUpdates = true E.db.unitframe.units.party.health.frequentUpdates = true
E.db.unitframe.units.raid.health.frequentUpdates = true E.db.unitframe.units.raid.health.frequentUpdates = true
E.db.unitframe.units.raid40.health.frequentUpdates = true -- E.db.unitframe.units.raid40.health.frequentUpdates = true
E.db.unitframe.units.party.healPrediction = true E.db.unitframe.units.party.healPrediction = true
E.db.unitframe.units.raid.healPrediction = true E.db.unitframe.units.raid.healPrediction = true
E.db.unitframe.units.raid40.healPrediction = true -- E.db.unitframe.units.raid40.healPrediction = true
E.db.unitframe.units.player.castbar.insideInfoPanel = false E.db.unitframe.units.player.castbar.insideInfoPanel = false
E.db.actionbar.bar2.enabled = true E.db.actionbar.bar2.enabled = true
@@ -645,7 +645,7 @@ local function SetupAuras(style)
if frame then if frame then
UF:Configure_Auras(frame, "Buffs") UF:Configure_Auras(frame, "Buffs")
UF:Configure_Auras(frame, "Debuffs") UF:Configure_Auras(frame, "Debuffs")
UF:Configure_AuraBars(frame) -- UF:Configure_AuraBars(frame)
end end
frame = UF["target"] frame = UF["target"]
@@ -657,7 +657,7 @@ local function SetupAuras(style)
if frame then if frame then
UF:Configure_Auras(frame, "Buffs") UF:Configure_Auras(frame, "Buffs")
UF:Configure_Auras(frame, "Debuffs") UF:Configure_Auras(frame, "Debuffs")
UF:Configure_AuraBars(frame) -- UF:Configure_AuraBars(frame)
end end
if not style then if not style then
@@ -812,10 +812,10 @@ local function SetPage(PageNum)
f.Desc2:SetText(L["If you have an icon or aurabar that you don't want to display simply hold down shift and right click the icon for it to disapear."]) f.Desc2:SetText(L["If you have an icon or aurabar that you don't want to display simply hold down shift and right click the icon for it to disapear."])
f.Desc3:SetText(L["Importance: |cffD3CF00Medium|r"]) f.Desc3:SetText(L["Importance: |cffD3CF00Medium|r"])
InstallOption1Button:Show() InstallOption1Button:Show()
InstallOption1Button:SetScript("OnClick", function() SetupAuras(true) end) InstallOption1Button:SetScript("OnClick", function() --[[SetupAuras(true)--]] end)
InstallOption1Button:SetText(L["Aura Bars & Icons"]) InstallOption1Button:SetText(L["Aura Bars & Icons"])
InstallOption2Button:Show() InstallOption2Button:Show()
InstallOption2Button:SetScript("OnClick", function() SetupAuras() end) InstallOption2Button:SetScript("OnClick", function() --[[SetupAuras()--]] end)
InstallOption2Button:SetText(L["Icons Only"]) InstallOption2Button:SetText(L["Icons Only"])
elseif PageNum == 8 then elseif PageNum == 8 then
f.SubTitle:SetText(L["Installation Complete"]) f.SubTitle:SetText(L["Installation Complete"])