Minor fixups, not work publishing
His Dad [03-16-15 - 06:14]
Minor fixups, not work publishing
diff --git a/AIResearchGrid.lua b/AIResearchGrid.lua
index 3b1662d..bed92dd 100644
--- a/AIResearchGrid.lua
+++ b/AIResearchGrid.lua
@@ -488,7 +488,7 @@ function AIRG.DeleteCharacter(charName)
end -- AIRG.DeleteCharacter
-- This function cycles through all three professions and populates the data matrix for this characters
--- This is carried out when the addon loasd to ensure the current character data is up-to-date.
+-- This is carried out when the addon loads to ensure the current character data is up-to-date.
-- The "if" logic in this function guesses at which profession should be default to display as the one with most research in.
function AIRG.PopulateMatrix()
local curCount = 0
@@ -866,7 +866,8 @@ function AIRG.Initialise(eventCode, addOnName)
-- UI set-up. Create frames, position labels & buttons etc.
AIRG.initUI()
-
+ -- Create the configuration/settings menu.
+ AIRG.CreateConfigMenu()
-- REGISTER for events that aren't initialise.
EVENT_MANAGER:RegisterForEvent("AIRG", EVENT_SMITHING_TRAIT_RESEARCH_STARTED, AIRG.ResearchStarted)
EVENT_MANAGER:RegisterForEvent("AIRG", EVENT_SMITHING_TRAIT_RESEARCH_COMPLETED, AIRG.ResearchCompleted)
@@ -875,18 +876,14 @@ function AIRG.Initialise(eventCode, addOnName)
EVENT_MANAGER:RegisterForEvent("AIRG", EVENT_PLAYER_ACTIVATED, AIRG.PlayerActivated)
- -- Create the configuration/settings menu.
- AIRG.CreateConfigMenu()
-
AIRG.initialised = true
end -- AIRG.Initialise
-EVENT_MANAGER:RegisterForEvent("AIRG", EVENT_ADD_ON_LOADED, AIRG.Initialise)
-- SLASH COMMAND FUNCTIONALITY
function AIRGslash(extra)
AIRG.ToggleMainWindow()
end -- AIRGslash
-
SLASH_COMMANDS["/airg"] = AIRGslash
+EVENT_MANAGER:RegisterForEvent("AIRG", EVENT_ADD_ON_LOADED, AIRG.Initialise)
-- EOF
diff --git a/doc/changelog.txt b/doc/changelog.txt
index 16ca8a0..910a7a4 100644
--- a/doc/changelog.txt
+++ b/doc/changelog.txt
@@ -4,6 +4,7 @@
Updated Version String.
Updated API for 1.6
Bug Fixed
+ None
2015-02-24 V3.2.4
New Feature