Version 1.1.1
willneedit [03-22-17 - 05:28]
Version 1.1.1
* Fixed bug when trying to set FCO Marker before having done a dryrun before
* Fixed for trait not being cleared when non-trait itemtype is selected
diff --git a/FCOISLink.lua b/FCOISLink.lua
index 86ddd2e..e1ad0f3 100644
--- a/FCOISLink.lua
+++ b/FCOISLink.lua
@@ -66,7 +66,7 @@ function FCOISL:GetMarkIndex(markText)
if markText == TXT_NO_CARE then return nil
elseif markText == TXT_NO_MARK then return I_NO_MARK
elseif markText == TXT_ANY_MARK then return I_ANY_MARK
- else return DIList[markText]
+ else return FCOISL:GetDynamicIconList()[markText]
end
end
diff --git a/InventoryManager.txt b/InventoryManager.txt
index 317f274..18861a1 100644
--- a/InventoryManager.txt
+++ b/InventoryManager.txt
@@ -2,7 +2,7 @@
## APIVersion: 100018
## OptionalDependsOn: LibAddonMenu-2.0
## SavedVariables: IMSavedVars
-## Version: 1.1.0
+## Version: 1.1.1
## Author: iwontsay
## Description: iwontsay's Inventory Manager
diff --git a/UI/RuleEdit.lua b/UI/RuleEdit.lua
index ec56a09..e0de620 100644
--- a/UI/RuleEdit.lua
+++ b/UI/RuleEdit.lua
@@ -329,11 +329,15 @@ function RE:UpdateTraitList(filterType, filterSubType)
RE.traitList = getSpecificTraitTypes(filterType, filterSubType)
local traitTxt = (RE.editingRule.traitType and RE.traitList["forward"][RE.editingRule.traitType]) or RE.traitList["seltext"]
+
+ -- Explicitely set here. If traitTxt is nil, because no traits are listed, it wouldn't be set elsewhere
+ RE.editingRule.traitType = RE.traitList["reverse"][value]
if not IWONTSAY_IM_CHO_TRAIT then return end
IWONTSAY_IM_CHO_TRAIT:UpdateChoices(RE.traitList["order"]);
IWONTSAY_IM_CHO_TRAIT:UpdateValue(false, traitTxt);
+ IWONTSAY_IM_CHO_TRAIT:UpdateValue(false);
end
function RE:UpdateFilterSpecList(whichFilter, preselection)