Just had the following error while using nkThings.
Code:
21:32:31: [nkThings] ---------
21:32:31: [nkThings] Error: Incorrect security mode.
21:32:31: [nkThings] Function documentation:
21:32:31: [nkThings] Sets the frame's visibility flag. If set to false, then this frame and all its children will not be rendered or accept mouse input.
21:32:31: [nkThings] Not permitted on a frame with "restricted" SecureMode while the addon environment is secured.
21:32:31: [nkThings] Element:SetVisible(visible) -- boolean
21:32:31: [nkThings] Parameters:
21:32:31: [nkThings] visible: The new visibility flag.
21:32:31: [nkThings] In nkThings / nkThings.cbMovebox:LeftClick
21:32:31: [nkThings] stack traceback:
21:32:31: [nkThings] [C]: in function 'SetVisible'
21:32:31: [nkThings] nkGenie/frame.lua:174: in function 'SetVisible'
21:32:31: [nkThings] nkThings/unitframe.lua:396: in function 'move'
21:32:31: [nkThings] nkThings/config.lua:384: in function 'move'
21:32:31: [nkThings] nkThings/config.lua:82: in function 'func'
21:32:31: [nkThings] nkGenie/checkbox.lua:36: in function 'func'
21:32:31: [nkThings] nkGenie/frame.lua:94: in function <nkGenie/frame.lua:94>
This is produced by having the config open with the frames unlocked, then entering combat and attempting to lock the frames.
I believe this is an expected result, but might be somewhere to add a custom error message.
Bookmarks