comparison ActionTemplates.lua @ 73:68365bda5ab5

oops macros broke again
author Nenue
date Sat, 07 Jan 2017 12:52:05 -0500
parents c48913c5924c
children 9824d524a661
comparison
equal deleted inserted replaced
72:c48913c5924c 73:68365bda5ab5
172 if actionType ~= 'macro' then 172 if actionType ~= 'macro' then
173 actionPrefix = '*macrotext-' 173 actionPrefix = '*macrotext-'
174 end 174 end
175 175
176 specialButtonType = 'macro' 176 specialButtonType = 'macro'
177 isAvailable = true
177 end 178 end
178 179
179 if isAvailable then 180 if isAvailable then
180 181
181 local attributeSuffix, attributeValue, command, target, button = kb.RegisterAction(actionType, actionID, name) 182 local attributeSuffix, attributeValue, command, target, button = kb.RegisterAction(actionType, actionID, name)