Minor bug fix
His Dad [05-02-15 - 03:43]
diff --git a/AIResearchGrid.lua b/AIResearchGrid.lua
index 790b892..5b85fbd 100644
--- a/AIResearchGrid.lua
+++ b/AIResearchGrid.lua
@@ -9,7 +9,7 @@ local _
AIRG = {}
AIRG.name = "AIResearchGrid"
-AIRG.version = "3.2.6"
+AIRG.version = "3.2.7"
AIRG.initialised = false
AIRG.processing = false
AIRG.all = " #ALL" -- Default displayname for Virtual character, overrwritten by Localised version
@@ -128,7 +128,7 @@ function AIRG.initUI()
local entry = AIRG.UI.charDropdown.dropdown:CreateItemEntry(charName, OnItemSelect)
AIRG.UI.charDropdown.dropdown:AddItem(entry)
end
- -- CREATE BUTTON FOR "Update Other" AT TOP_RIGHT
+ -- CREATE BUTTON FOR "Relative to" AT TOP_RIGHT
AIRG.UI.btnUpdateOther = WINDOW_MANAGER:CreateControlFromVirtual("AIResearchGridButtonUpdateOther", AIResearchGrid, "ZO_DefaultButton")
--Attempt to adjust button size to content, but units are different. May not be fixable. leave for meantime.
local textlen = 0
@@ -798,11 +798,20 @@ function AIRG.Initialise(eventCode, addOnName)
AIRG.curCharacter = GetUnitName("player") -- Default the display to the current character
AIRG.AssignGridTraits()
AIRG.AssignStyleLookups()
- AIRG.vars.styles[AIRG.all] = {} -- and our virtual character
+ --Remove possibly spurious character data
+ AIRG.vars.styles["#TOUS"] = nil
+ AIRG.vars.styles[" #ALLE"] = nil
+ AIRG.vars.styles[" #ALL"] = nil
+
+ AIRG.vars.styles[AIRG.all] = {}
-- Create these here so the UI dropdown will have them first time around.
AIRG.vars.data[AIRG.playerName] = {} -- create a table for this character's matrix
AIRG.vars.data[AIRG.all] = {} -- and our virtual character
+ --Remove possibly spurious character data
+ AIRG.vars.data["#TOUS"] = nil
+ AIRG.vars.data[" #ALLE"] = nil
+ AIRG.vars.data[" #ALL"] = nil
-- Create Empty data for Virtual Char set to 0, (Not known)
local i, j
diff --git a/AIResearchGrid.txt b/AIResearchGrid.txt
index 22e10d2..8e9eb04 100644
--- a/AIResearchGrid.txt
+++ b/AIResearchGrid.txt
@@ -1,6 +1,6 @@
-## Title: |cFFFFB0Research Grid|r v3.2.6
+## Title: |cFFFFB0Research Grid|r v3.2.7
## APIVersion: 100011
-## Version: 3.2.6
+## Version: 3.2.7
## Author: Stormknight and Team
## OptionalDependsOn: LibAddonMenu-2.0
## SavedVariables: AIRG_SavedVariables
diff --git a/doc/changelog.txt b/doc/changelog.txt
index 8d0a4f9..ae68b26 100644
--- a/doc/changelog.txt
+++ b/doc/changelog.txt
@@ -1,3 +1,11 @@
+2015-05-02 V3.2.7
+ New Feature
+ None
+ Bug Fixed
+ If swapping between languages, might remember localised "ALL" as a real char.
+
+ Updated Version String.
+
2015-04-20 V3.2.6
New Feature
French Translation Added