added displayname
added option to add DisplayName to tables to make the subcategory name different on the button then whats in the menu itself
This commit is contained in:
@@ -478,7 +478,11 @@ function AtlasLoot:ShowItemsFrame(dataID, dataSource_backup, tablenum)
|
||||
|
||||
--For stopping the subtable from changing if its a token table
|
||||
if dataSource[dataID].NoSubt == nil and dataID ~= "FilterList" then
|
||||
AtlasLootDefaultFrame_SubMenuText:SetText(dataSource[dataID].Name);
|
||||
if dataSource[dataID].DisplayName then
|
||||
AtlasLootDefaultFrame_SubMenuText:SetText(dataSource[dataID].DisplayName);
|
||||
else
|
||||
AtlasLootDefaultFrame_SubMenuText:SetText(dataSource[dataID].Name);
|
||||
end
|
||||
AtlasLoot:SubTableScrollFrameUpdate(dataID, dataSource_backup, tablenum);
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user