change un/hide macro names

This commit is contained in:
garret 2022-03-28 19:39:53 +01:00
parent bcc36a1aa8
commit c5a84a448e
1 changed files with 6 additions and 2 deletions

View File

@ -82,9 +82,13 @@ end
local macros = {
{"Do", script_description, comment},
{"Undo","Deletes selected line and restores the original", undo},
{"Hide","Hides the original in extradata", hide},
{"Unhide","Restores the original from extradata", unhide}
}
if json ~= nil then -- dont lock out core functionality because you dont have this one thing
table.insert(macros, {"Cleanup/Do","Hides the original in extradata", hide})
table.insert(macros, {"Cleanup/Undo","Restores the original from extradata", unhide})
end
if haveDepCtrl then
depctrl:registerMacros(macros)
else