3.3.4 Fix for #ALL Crash

His Dad [10-12-15 - 04:29]
3.3.4  Fix for #ALL Crash
Filename
AIResearchGrid.lua
AIResearchGrid.txt
doc/changelog.txt
diff --git a/AIResearchGrid.lua b/AIResearchGrid.lua
index 47b2bd8..dbc7cad 100644
--- a/AIResearchGrid.lua
+++ b/AIResearchGrid.lua
@@ -12,7 +12,7 @@ local _
 AIRG = {}

 AIRG.name = "AIResearchGrid"
-AIRG.version = "3.3.3"
+AIRG.version = "3.3.4"
 AIRG.initialised = false
 AIRG.processing = false
 AIRG.all = " #ALL"  -- Default displayname for Virtual character, overrwritten by Localised version
@@ -320,7 +320,7 @@ function AIRG.initUI()
     AIResearchGrid:SetHeight(AIRG.vars.showMotifs and 706 or 636)
     AIRG.UI.motifButtons = {}
     for i = 1, 18 do
-
+
         AIRG.UI.motifButtons[i] = WINDOW_MANAGER:CreateControl("AIResearchGridMotifButton" .. tostring(i), AIRG.UI.motifSection, CT_TEXTURE)
         AIRG.UI.motifButtons[i]:SetDimensions(40, 40)
         AIRG.UI.motifButtons[i]:SetAnchor(TOPLEFT, AIRG.UI.motifSection, TOPLEFT, 41*i + 124, 0)
@@ -623,7 +623,7 @@ function AIRG.PopulateAll()
 			end
 		end

-
+
       end
     end
 end  -- AIRG.PopulateAll
@@ -1054,6 +1054,10 @@ function AIRG.Initialise(eventCode, addOnName)
         AIRG.vars.styles[AIRG.all][17][i] = false
     end

+	AIRG.vars.styles[AIRG.all][18]= {}	--Ancient Orc
+    for i = 1, 14 do
+        AIRG.vars.styles[AIRG.all][18][i] = false
+    end


  -- AIRG.CreateDataMatrix
diff --git a/AIResearchGrid.txt b/AIResearchGrid.txt
index 06e87a7..1cbcada 100644
--- a/AIResearchGrid.txt
+++ b/AIResearchGrid.txt
@@ -1,6 +1,6 @@
-## Title: |cFFFFB0Research Grid|r v3.3.3
+## Title: |cFFFFB0Research Grid|r v3.3.4
 ## APIVersion: 100012
-## Version: 3.3.3
+## Version: 3.3.4
 ## Author: Stormknight and Team
 ## OptionalDependsOn: LibAddonMenu-2.0
 ## SavedVariables: AIRG_SavedVariables
diff --git a/doc/changelog.txt b/doc/changelog.txt
index 92bb626..55d1b57 100644
--- a/doc/changelog.txt
+++ b/doc/changelog.txt
@@ -1,3 +1,9 @@
+2015-10-10  v3.3.4
+	New Feature
+	None
+	Bug Fix
+	Crash on display of #ALL
+
 2015-10-10  v3.3.3
 	New Feature
 	Ancient Orc by scinutz