Ah I didn't notice that in your earlier posts, it should be:
Lua Code:
local keystripDef = {
name = function() return GetKeyStripName() end,
keybind = "SC_BANK_ALL",
callback = function() DoItAll.ExtractAll() end,
alignment = KEYBIND_STRIP_ALIGN_LEFT,
visible = function() return ShouldShow() end,
}
Not 2 tables:
Its only 2 tables if you are completely replacing the entire keybindStripDescriptor table. But, were not, were just adding a table to the keybindStripDescriptor table.
Lua Code:
local keystripDef = {
{
name = function() return GetKeyStripName() end,
keybind = "SC_BANK_ALL",
callback = function() DoItAll.ExtractAll() end,
alignment = KEYBIND_STRIP_ALIGN_LEFT,
visible = function() return ShouldShow() end,
}
}
Originally Posted by Baertram
Only problem is:
The name of the keybind is not changing if I change the tabs at the crafting station. The name is only updated as the keybind is added.
|
When I use Do-It-All it shows the same text for both panels "Refinement" and "Deconstruction" both show "Extract All"
Are you trying to change the way it works to show different names?