6f9efe3 - Remove font option
[wowui.git] / OmaRF / Core.lua
index e4c2d29..0b44b48 100644 (file)
@@ -14,11 +14,10 @@ OmaRF.running = false;
 
 local defaults = {
     profile = {
 
 local defaults = {
     profile = {
-        indicatorFont = "Arial Narrow",
-        showIcons = true,
         enabled = true,
         indicators = {
             ['**'] = {
         enabled = true,
         indicators = {
             ['**'] = {
+                auras = {},
                 textSize = 10,
                 textColor = {1, 1, 1, 1},
                 mine = false,
                 textSize = 10,
                 textColor = {1, 1, 1, 1},
                 mine = false,
@@ -56,9 +55,9 @@ end
 
 SLASH_OMARF1 = "/omarf";
 function SlashCmdList.OMARF(msg, editBox)
 
 SLASH_OMARF1 = "/omarf";
 function SlashCmdList.OMARF(msg, editBox)
-    local loaded, finished = IsAddonLoaded("OmaRFConfig");
+    local loaded, finished = IsAddOnLoaded("OmaRFConfig");
     if not loaded then
     if not loaded then
-        local loaded, reason = LoadAddon("OmaRFConfig");
+        local loaded, reason = LoadAddOn("OmaRFConfig");
         if not loaded then
             if reason == "DISABLED" then
                 print("OmaRFConfig is disabled");
         if not loaded then
             if reason == "DISABLED" then
                 print("OmaRFConfig is disabled");
@@ -78,5 +77,6 @@ function SlashCmdList.OMARF(msg, editBox)
         return;
     end
 
         return;
     end
 
+    InterfaceOptionsFrame_OpenToCategory(OmaRF.optionsFrames.Profile);
     InterfaceOptionsFrame_OpenToCategory(OmaRF.optionsFrames.Indicators);
 end
     InterfaceOptionsFrame_OpenToCategory(OmaRF.optionsFrames.Indicators);
 end