Folder: \Interface\AddOns\nUI\Plugins\
File: nUI_ButtonBag.lua
There is this block of code near the top of the file:
Code:
-- buttons we want to force ignore of
Excludes =
{
["MiniMapMailFrame"] = true,
["MiniMapBattlefieldFrame"] = true,
["MinimapBackdrop"] = true,
["MiniMapPing"] = true,
["MiniMapCompassRing"] = true,
["MinimapZoomIn"] = true,
["MinimapZoomOut"] = true,
["MiniMapTracking"] = true,
["MiniMapWorldMapButton"] = true,
["GatherMiniNoteUpdateFrame"] = true,
["TimeManagerClockButton"] = true,
["FishingBuddyMinimapMenuButton"] = true,
["PoisonerMinimapButton"] = true,
["MiniMapLFGFrame"] = true,
["GameTimeFrame"] = false,
},
-- buttons we want to force inclusion of
Includes =
{
["WIM_IconFrame"] = true,
["CTMod2_MinimapButton"] = true,
["PoisonerMinimapButton"] = true,
["GameTimeFrame"] = true,
["MobMapMinimapButtonFrame"] = true,
["BaudGearMinimapButton"] = true,
},
The exculdes are ones that appear on the map the Includes are ones that get thrown in the bag. Apart from Calendar which gets toggled with /nui calendar if I remember rightly.
If you can locate the name of the button try adding it to the respective block and do a reload of the UI and see if it resolves your problem.