From b8fde0a81a9b115409bc7c878b29c94a3ea2a915 Mon Sep 17 00:00:00 2001 From: Mikeprod Date: Fri, 23 Dec 2016 04:56:13 +0100 Subject: [PATCH] Fixes Addon bugging from pr#67 --- core.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core.lua b/core.lua index 65c44b9..e186a25 100644 --- a/core.lua +++ b/core.lua @@ -506,11 +506,11 @@ end function XIVBar:GetTextOptions() -- Don't know if this still needed, so i keep it commendet out. - --[[local t = self.LSM:List(self.LSM.MediaType.FONT); + local t = self.LSM:List(self.LSM.MediaType.FONT); local fontList = {}; for k,v in pairs(t) do fontList[v] = v; - end]] + end return { name = LOCALE_TEXT_LABEL, type = "group", @@ -522,7 +522,7 @@ function XIVBar:GetTextOptions() type = "select", dialogControl = 'LSM30_Font', order = 1, - values = AceGUIWidgetLSMlists.font, + values = AceGUIWidgetLSMlists and AceGUIWidgetLSMlists.font or fontList, style = "dropdown", get = function() return self.db.profile.text.font; end, set = function(info, val) self.db.profile.text.font = val; self:Refresh(); end -- 1.7.9.5