diff --git a/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.lua b/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.lua index 8dab29b..914b296 100644 --- a/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.lua +++ b/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.lua @@ -251,7 +251,19 @@ function AtlasLoot_DewdropRegister() if (type(v[1]) == "table") and (type(v[1][1]) == "string") then local checked = false; --If an entry to show a submenu - if v[1][3] == "Submenu" then + if v[1][4] == "Header" then + AtlasLoot_Dewdrop:AddLine( + 'text', v[1][1], + 'textR', 0.2, + 'textG', 0.82, + 'textB', 0.5, + 'func', AtlasLoot_DewDropClick, + 'arg1', v[1][2], + 'arg2', v[1][1], + 'arg3', v[1][3], + 'notCheckable', true + ) + elseif v[1][3] == "Submenu" then AtlasLoot_Dewdrop:AddLine( 'text', v[1][1], 'textR', 1, diff --git a/AtlasLoot/DefaultFrame/DewDropDown.lua b/AtlasLoot/DefaultFrame/DewDropDown.lua index 7fff718..2b15083 100644 --- a/AtlasLoot/DefaultFrame/DewDropDown.lua +++ b/AtlasLoot/DefaultFrame/DewDropDown.lua @@ -105,7 +105,7 @@ AtlasLoot_DewDropDown = { [2] = { [AL["BC Instances"]] = { [1] = { - { BabbleZone["Raids:"], "BCKeys", "Table" }, + { BabbleZone["Raids:"], "BCKeys", "Table", "Header" }, }, [2] = { { BabbleZone["Karazhan"], "Karazhan", "Submenu" }, @@ -138,7 +138,7 @@ AtlasLoot_DewDropDown = { ---- Dugneons ----- [11] = { - { BabbleZone["Dungeons:"], "BCKeys", "Table" }, + { BabbleZone["Dungeons:"], "BCKeys", "Table", "Header" }, }, [12] = {