View Single Post
08/04/15, 03:23 PM   #11
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Ah I didn't notice that in your earlier posts, it should be:
Lua Code:
  1. local keystripDef = {
  2.         name = function() return GetKeyStripName() end,
  3.         keybind = "SC_BANK_ALL",
  4.         callback = function() DoItAll.ExtractAll() end,
  5.         alignment = KEYBIND_STRIP_ALIGN_LEFT,
  6.                 visible = function() return ShouldShow() end,
  7. }

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:
  1. local keystripDef = {
  2.     {
  3.         name = function() return GetKeyStripName() end,
  4.         keybind = "SC_BANK_ALL",
  5.         callback = function() DoItAll.ExtractAll() end,
  6.         alignment = KEYBIND_STRIP_ALIGN_LEFT,
  7.                 visible = function() return ShouldShow() end,
  8.     }
  9. }

Originally Posted by Baertram View Post
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?

Last edited by circonian : 08/04/15 at 03:31 PM.
  Reply With Quote